def _make_order_pb(field_path, direction): from google.cloud.firestore_v1beta1.proto import query_pb2 from google.cloud.firestore_v1beta1.query import _enum_from_direction return query_pb2.StructuredQuery.Order( field=query_pb2.StructuredQuery.FieldReference(field_path=field_path), direction=_enum_from_direction(direction), )
def _make_order_pb(field_path, direction): from google.cloud.firestore_v1beta1.proto import query_pb2 from google.cloud.firestore_v1beta1.query import _enum_from_direction return query_pb2.StructuredQuery.Order( field=query_pb2.StructuredQuery.FieldReference( field_path=field_path), direction=_enum_from_direction(direction), )
def _call_fut(direction): from google.cloud.firestore_v1beta1.query import _enum_from_direction return _enum_from_direction(direction)