def ParseNamespaceQuery(query, filters, orders):
 Check((not query.has_ancestor()), 'ancestor queries on __namespace__ not allowed')
 key_range = ParseKeyFilteredQuery(filters, orders)
 key_range.Remap(_NamespaceKeyToString)
 return key_range

def ParseNamespaceQuery ( query , filters , orders ) : Check ( ( not query . has_ancestor ( ) ) , 'ancestor queries on __namespace__ not allowed' ) key_range = ParseKeyFilteredQuery ( filters , orders ) key_range . Remap ( _NamespaceKeyToString ) return key_range
parse __namespace__ queries .