'Construct a query for this key range without setting the scan direction.
Args:
kind_class: A kind implementation class (a subclass of either
db.Model or ndb.Model).
keys_only: bool, default False, query only for keys.
filters: optional list of filters to apply to the query. Each filter is
a tuple: (<property_name_as_str>, <query_operation_as_str>, <value>).
User filters are applied first.
Returns:
A db.Query or ndb.Query instance (corresponding to kind_class).'

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

    if (ndb is not None):
        if issubclass(kind_class, ndb.Model):
            return self.make_ascending_ndb_query(kind_class, keys_only=keys_only, filters=filters)
    assert (self._app is None), '_app    is    not    supported    for    db.Query'
    query = db.Query(kind_class, namespace=self.namespace, keys_only=keys_only)
    query.order('__key__')
    query = self.filter_query(query, filters=filters)
    return query
