def __init__(self, model_class=None, keys_only=False, compile=True,
               cursor=None):
    """Constructor.

    Args:
      model_class: Model class from which entities are constructed.
      keys_only: Whether the query should return full entities or only keys.
      compile: Whether the query should also return a compiled query.
      cursor: A compiled query from which to resume.
    """
    self._model_class = model_class
    self._keys_only = keys_only
    self._compile = compile
    if cursor is not None:
      self.with_cursor(cursor)
    else:
      self._cursor = None
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/_BaseQuery.__init__/original