def make_ascending_query(self, kind_class, keys_only=False):
    """Construct a query for this key range without setting the scan direction.

    Args:
      kind_class: A kind implementation class.
      keys_only: bool, default False, query only for keys.

    Returns:
      A db.Query instance.
    """
    query = db.Query(kind_class, keys_only=keys_only)
    query.order("__key__")

    query = self.filter_query(query)
    return query
Construct a query for this key range without setting the scan direction.

    Args:
      kind_class: A kind implementation class.
      keys_only: bool, default False, query only for keys.

    Returns:
      A db.Query instance.
    
mapreduce/lib/key_range/__init__.py