'Return a basic query from model_class, filters, order_by, and limit and offset.
Set eagerloads to False to disable them for this query.'

def query(self, eagerloads=True, **kwargs):

    query = self.session().query(self.model_class)
    if (eagerloads is False):
        query = query.enable_eagerloads(False)
    return self._filter_and_order_query(query, **kwargs)
