

def apply(self, query, value):
    (start, end) = value
    return value.filter((Q(**{
        ('%s__not__gte' % self.column.name): start,
    }) | Q(**{
        ('%s__not__lte' % self.column.name): end,
    })))

dataset/ETHPy150Open mrjoes/flask-admin/flask_admin/contrib/mongoengine/filters.py DateTimeNotBetweenFilter.apply/VarMisuse@23/24 `query`->`value`