'Construct an NDB query for this key range, without the scan direction.
Args:
kind_class: An ndb.Model subclass.
keys_only: bool, default False, query only for keys.
Returns:
An ndb.Query instance.'

def make_ascending_ndb_query(self, kind_class, keys_only=False, filters=None):

    assert issubclass(kind_class, ndb.Model)
    if keys_only:
        default_options = ndb.QueryOptions(keys_only=True)
    else:
        default_options = None
    query = kind_class.query(app=self._app, namespace=self.namespace, default_options=default_options)
    query = self.filter_ndb_query(query, filters=filters)
    query = query.order(kind_class._key)
    return query
