@classmethod<EOL><INDENT>def _query(cls, *args, **kwds):<DEDENT>
<EOL>if '<STR_LIT>' in kwds:<EOL><INDENT>if '<STR_LIT>' in kwds:<EOL><INDENT>raise TypeError(<EOL>'<STR_LIT>')<EOL><DEDENT>projection = kwds.get('<STR_LIT>')<EOL>if not projection:<EOL><INDENT>raise TypeError(<EOL>'<STR_LIT>')<EOL><DEDENT>if kwds.pop('<STR_LIT>'):<EOL><INDENT>kwds['<STR_LIT>'] = projection<EOL><DEDENT><DEDENT>from .query import Query  <EOL>qry = Query(kind=cls._get_kind(), **kwds)<EOL>qry = qry.filter(*cls._default_filters())<EOL>qry = qry.filter(*args)<EOL>return qry<EOL>
Create a Query object for this class.

        Args:
          distinct: Optional bool, short hand for group_by = projection.
          *args: Used to apply an initial filter
          **kwds: are passed to the Query() constructor.

        Returns:
          A Query object.