<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _query(self, *criterion):
 """ Construct a query for the model. """

        return self.session.query(
            self.model_class
        ).filter(
            *criterion
        )