@staticmethod
    def find(instance, launched):
        start = launched - datetime.timedelta(microseconds=launched.microsecond)
        end = start + datetime.timedelta(microseconds=999999)
        params = {'instance': instance,
                  'launched_at__gte': dt.dt_to_decimal(start),
                  'launched_at__lte': dt.dt_to_decimal(end)}
        return InstanceReconcile.objects.filter(**params)
dataset/ETHPy150Open openstack/stacktach/stacktach/models.py/InstanceReconcile.find/original