def _MakeQuery(query, filters, orders):
 clone = datastore_pb.Query()
 clone.CopyFrom(query)
 clone.clear_filter()
 clone.clear_order()
 clone.filter_list().extend(filters)
 clone.order_list().extend(orders)
 return datastore_query.Query._from_pb(clone)

def _MakeQuery ( query , filters , orders ) : clone = datastore_pb . Query ( ) clone . CopyFrom ( query ) clone . clear_filter ( ) clone . clear_order ( ) clone . filter_list ( ) . extend ( filters ) clone . order_list ( ) . extend ( orders ) return datastore_query . Query . _from_pb ( clone )
make a datastore_query .