def _get_query(self, model):
return self.session.query(model)<EOL>
Get a query for the given model using this manager's session.

        :param model: A SQLAlchemy model class
        :return: a SQLAlchemy query