<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _filter(self, query, **kwargs):
 """ Filter a query with user-supplied arguments. """

        query = self._auto_filter(query, **kwargs)
        return query