alis.open.flows.v1 1.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: alis.open.flows.v1
3
+ Version: 1.2.0
4
+ Summary: Protobufs generated by Alis Build
5
+ Requires-Dist: google-common-protos>=0.0.1
6
+ Requires-Dist: alis-services-protobuf-open>=1.176.0
7
+ Dynamic: requires-dist
8
+ Dynamic: summary
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1,61 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: alis/open/flows/v1/flows.proto
5
+ # Protobuf Python Version: 6.33.5
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 5,
17
+ '',
18
+ 'alis/open/flows/v1/flows.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from alis.open.pubsub.v1 import pubsub_pb2 as alis_dot_open_dot_pubsub_dot_v1_dot_pubsub__pb2
26
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
27
+ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
28
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
29
+
30
+
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x61lis/open/flows/v1/flows.proto\x12\x12\x61lis.open.flows.v1\x1a alis/open/pubsub/v1/pubsub.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x98\x06\n\x04\x46low\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06source\x18\x02 \x01(\tR\x06source\x12\x1b\n\tparent_id\x18\x03 \x01(\tR\x08parentId\x12\x33\n\x05steps\x18\x07 \x03(\x0b\x32\x1d.alis.open.flows.v1.Flow.StepR\x05steps\x12;\n\x0b\x63reate_time\x18\x61 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x62 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x12=\n\x0cpublish_time\x18\x63 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bpublishTime\x1a\xc6\x03\n\x04Step\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x39\n\x05state\x18\x04 \x01(\x0e\x32#.alis.open.flows.v1.Flow.Step.StateR\x05state\x12\x34\n\x08\x63hildren\x18\x08 \x03(\x0b\x32\x18.alis.open.flows.v1.FlowR\x08\x63hildren\x12;\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"y\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\r\n\tCOMPLETED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x12\n\x0e\x41WAITING_INPUT\x10\x06J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"]\n\x0eGetFlowRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x37\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x08readMask\"\xb7\x01\n\x10ListFlowsRequest\x12\x16\n\x06parent\x18\x01 \x01(\tR\x06parent\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\x12\x37\n\tread_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x08readMask\x12\x16\n\x06\x66ilter\x18\x05 \x01(\tR\x06\x66ilter\"k\n\x11ListFlowsResponse\x12.\n\x05\x66lows\x18\x01 \x03(\x0b\x32\x18.alis.open.flows.v1.FlowR\x05\x66lows\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"e\n\x12StreamFlowsRequest\x12\x16\n\x06parent\x18\x01 \x01(\tR\x06parent\x12\x37\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x08readMask\"\x9b\x01\n\x17GenerateFlowTreeRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmax_depth\x18\x02 \x01(\x05R\x08maxDepth\x12\x37\n\tread_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x08readMask\x12\x16\n\x06\x66ilter\x18\x04 \x01(\tR\x06\x66ilter\"\xe4\x01\n\x18GenerateFlowTreeResponse\x12,\n\x04\x66low\x18\x01 \x01(\x0b\x32\x18.alis.open.flows.v1.FlowR\x04\x66low\x12^\n\rstep_children\x18\x02 \x03(\x0b\x32\x39.alis.open.flows.v1.GenerateFlowTreeResponse.StepChildrenR\x0cstepChildren\x1a:\n\x0cStepChildren\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n\x08\x63hildren\x18\x02 \x03(\tR\x08\x63hildren2\x9a\x04\n\x0c\x46lowsService\x12I\n\x07GetFlow\x12\".alis.open.flows.v1.GetFlowRequest\x1a\x18.alis.open.flows.v1.Flow\"\x00\x12Z\n\tListFlows\x12$.alis.open.flows.v1.ListFlowsRequest\x1a%.alis.open.flows.v1.ListFlowsResponse\"\x00\x12S\n\x0bStreamFlows\x12&.alis.open.flows.v1.StreamFlowsRequest\x1a\x18.alis.open.flows.v1.Flow\"\x00\x30\x01\x12o\n\x10GenerateFlowTree\x12+.alis.open.flows.v1.GenerateFlowTreeRequest\x1a,.alis.open.flows.v1.GenerateFlowTreeResponse\"\x00\x12K\n\x0bHandleEvent\x12\".alis.open.pubsub.v1.PubSubMessage\x1a\x16.google.protobuf.Empty\"\x00\x12P\n\x10HandleDeadLetter\x12\".alis.open.pubsub.v1.PubSubMessage\x1a\x16.google.protobuf.Empty\"\x00\x42&Z$go.alis.build/common/alis/open/flowsb\x06proto3')
32
+
33
+ _globals = globals()
34
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alis.open.flows.v1.flows_pb2', _globals)
36
+ if not _descriptor._USE_C_DESCRIPTORS:
37
+ _globals['DESCRIPTOR']._loaded_options = None
38
+ _globals['DESCRIPTOR']._serialized_options = b'Z$go.alis.build/common/alis/open/flows'
39
+ _globals['_FLOW']._serialized_start=185
40
+ _globals['_FLOW']._serialized_end=977
41
+ _globals['_FLOW_STEP']._serialized_start=505
42
+ _globals['_FLOW_STEP']._serialized_end=959
43
+ _globals['_FLOW_STEP_STATE']._serialized_start=820
44
+ _globals['_FLOW_STEP_STATE']._serialized_end=941
45
+ _globals['_GETFLOWREQUEST']._serialized_start=979
46
+ _globals['_GETFLOWREQUEST']._serialized_end=1072
47
+ _globals['_LISTFLOWSREQUEST']._serialized_start=1075
48
+ _globals['_LISTFLOWSREQUEST']._serialized_end=1258
49
+ _globals['_LISTFLOWSRESPONSE']._serialized_start=1260
50
+ _globals['_LISTFLOWSRESPONSE']._serialized_end=1367
51
+ _globals['_STREAMFLOWSREQUEST']._serialized_start=1369
52
+ _globals['_STREAMFLOWSREQUEST']._serialized_end=1470
53
+ _globals['_GENERATEFLOWTREEREQUEST']._serialized_start=1473
54
+ _globals['_GENERATEFLOWTREEREQUEST']._serialized_end=1628
55
+ _globals['_GENERATEFLOWTREERESPONSE']._serialized_start=1631
56
+ _globals['_GENERATEFLOWTREERESPONSE']._serialized_end=1859
57
+ _globals['_GENERATEFLOWTREERESPONSE_STEPCHILDREN']._serialized_start=1801
58
+ _globals['_GENERATEFLOWTREERESPONSE_STEPCHILDREN']._serialized_end=1859
59
+ _globals['_FLOWSSERVICE']._serialized_start=1862
60
+ _globals['_FLOWSSERVICE']._serialized_end=2400
61
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,299 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ from collections import abc as _abc
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import field_mask_pb2 as _field_mask_pb2
9
+ from google.protobuf import message as _message
10
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
11
+ from google.protobuf.internal import containers as _containers
12
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
13
+ import builtins as _builtins
14
+ import sys
15
+ import typing as _typing
16
+
17
+ if sys.version_info >= (3, 11):
18
+ from typing import TypeAlias as _TypeAlias, Never as _Never
19
+ else:
20
+ from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
21
+
22
+ DESCRIPTOR: _descriptor.FileDescriptor
23
+
24
+ @_typing.final
25
+ class Flow(_message.Message):
26
+ DESCRIPTOR: _descriptor.Descriptor
27
+
28
+ @_typing.final
29
+ class Step(_message.Message):
30
+ DESCRIPTOR: _descriptor.Descriptor
31
+
32
+ class _State:
33
+ ValueType = _typing.NewType("ValueType", _builtins.int)
34
+ V: _TypeAlias = ValueType # noqa: Y015
35
+
36
+ class _StateEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Flow.Step._State.ValueType], _builtins.type):
37
+ DESCRIPTOR: _descriptor.EnumDescriptor
38
+ STATE_UNSPECIFIED: Flow.Step._State.ValueType # 0
39
+ QUEUED: Flow.Step._State.ValueType # 1
40
+ IN_PROGRESS: Flow.Step._State.ValueType # 2
41
+ CANCELLED: Flow.Step._State.ValueType # 3
42
+ COMPLETED: Flow.Step._State.ValueType # 4
43
+ FAILED: Flow.Step._State.ValueType # 5
44
+ AWAITING_INPUT: Flow.Step._State.ValueType # 6
45
+
46
+ class State(_State, metaclass=_StateEnumTypeWrapper): ...
47
+ STATE_UNSPECIFIED: Flow.Step.State.ValueType # 0
48
+ QUEUED: Flow.Step.State.ValueType # 1
49
+ IN_PROGRESS: Flow.Step.State.ValueType # 2
50
+ CANCELLED: Flow.Step.State.ValueType # 3
51
+ COMPLETED: Flow.Step.State.ValueType # 4
52
+ FAILED: Flow.Step.State.ValueType # 5
53
+ AWAITING_INPUT: Flow.Step.State.ValueType # 6
54
+
55
+ ID_FIELD_NUMBER: _builtins.int
56
+ TITLE_FIELD_NUMBER: _builtins.int
57
+ DESCRIPTION_FIELD_NUMBER: _builtins.int
58
+ STATE_FIELD_NUMBER: _builtins.int
59
+ CHILDREN_FIELD_NUMBER: _builtins.int
60
+ CREATE_TIME_FIELD_NUMBER: _builtins.int
61
+ UPDATE_TIME_FIELD_NUMBER: _builtins.int
62
+ id: _builtins.str
63
+ title: _builtins.str
64
+ description: _builtins.str
65
+ state: Global___Flow.Step.State.ValueType
66
+ @_builtins.property
67
+ def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___Flow]: ...
68
+ @_builtins.property
69
+ def create_time(self) -> _timestamp_pb2.Timestamp: ...
70
+ @_builtins.property
71
+ def update_time(self) -> _timestamp_pb2.Timestamp: ...
72
+ def __init__(
73
+ self,
74
+ *,
75
+ id: _builtins.str = ...,
76
+ title: _builtins.str = ...,
77
+ description: _builtins.str = ...,
78
+ state: Global___Flow.Step.State.ValueType = ...,
79
+ children: _abc.Iterable[Global___Flow] | None = ...,
80
+ create_time: _timestamp_pb2.Timestamp | None = ...,
81
+ update_time: _timestamp_pb2.Timestamp | None = ...,
82
+ ) -> None: ...
83
+ _HasFieldArgType: _TypeAlias = _typing.Literal["create_time", b"create_time", "update_time", b"update_time"] # noqa: Y015
84
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
85
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "create_time", b"create_time", "description", b"description", "id", b"id", "state", b"state", "title", b"title", "update_time", b"update_time"] # noqa: Y015
86
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
87
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
88
+
89
+ NAME_FIELD_NUMBER: _builtins.int
90
+ SOURCE_FIELD_NUMBER: _builtins.int
91
+ PARENT_ID_FIELD_NUMBER: _builtins.int
92
+ STEPS_FIELD_NUMBER: _builtins.int
93
+ CREATE_TIME_FIELD_NUMBER: _builtins.int
94
+ UPDATE_TIME_FIELD_NUMBER: _builtins.int
95
+ PUBLISH_TIME_FIELD_NUMBER: _builtins.int
96
+ name: _builtins.str
97
+ source: _builtins.str
98
+ parent_id: _builtins.str
99
+ @_builtins.property
100
+ def steps(self) -> _containers.RepeatedCompositeFieldContainer[Global___Flow.Step]: ...
101
+ @_builtins.property
102
+ def create_time(self) -> _timestamp_pb2.Timestamp: ...
103
+ @_builtins.property
104
+ def update_time(self) -> _timestamp_pb2.Timestamp: ...
105
+ @_builtins.property
106
+ def publish_time(self) -> _timestamp_pb2.Timestamp: ...
107
+ def __init__(
108
+ self,
109
+ *,
110
+ name: _builtins.str = ...,
111
+ source: _builtins.str = ...,
112
+ parent_id: _builtins.str = ...,
113
+ steps: _abc.Iterable[Global___Flow.Step] | None = ...,
114
+ create_time: _timestamp_pb2.Timestamp | None = ...,
115
+ update_time: _timestamp_pb2.Timestamp | None = ...,
116
+ publish_time: _timestamp_pb2.Timestamp | None = ...,
117
+ ) -> None: ...
118
+ _HasFieldArgType: _TypeAlias = _typing.Literal["create_time", b"create_time", "publish_time", b"publish_time", "update_time", b"update_time"] # noqa: Y015
119
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
120
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["create_time", b"create_time", "name", b"name", "parent_id", b"parent_id", "publish_time", b"publish_time", "source", b"source", "steps", b"steps", "update_time", b"update_time"] # noqa: Y015
121
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
122
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
123
+
124
+ Global___Flow: _TypeAlias = Flow # noqa: Y015
125
+
126
+ @_typing.final
127
+ class GetFlowRequest(_message.Message):
128
+ DESCRIPTOR: _descriptor.Descriptor
129
+
130
+ NAME_FIELD_NUMBER: _builtins.int
131
+ READ_MASK_FIELD_NUMBER: _builtins.int
132
+ name: _builtins.str
133
+ @_builtins.property
134
+ def read_mask(self) -> _field_mask_pb2.FieldMask: ...
135
+ def __init__(
136
+ self,
137
+ *,
138
+ name: _builtins.str = ...,
139
+ read_mask: _field_mask_pb2.FieldMask | None = ...,
140
+ ) -> None: ...
141
+ _HasFieldArgType: _TypeAlias = _typing.Literal["read_mask", b"read_mask"] # noqa: Y015
142
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
143
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name", "read_mask", b"read_mask"] # noqa: Y015
144
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
145
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
146
+
147
+ Global___GetFlowRequest: _TypeAlias = GetFlowRequest # noqa: Y015
148
+
149
+ @_typing.final
150
+ class ListFlowsRequest(_message.Message):
151
+ DESCRIPTOR: _descriptor.Descriptor
152
+
153
+ PARENT_FIELD_NUMBER: _builtins.int
154
+ PAGE_SIZE_FIELD_NUMBER: _builtins.int
155
+ PAGE_TOKEN_FIELD_NUMBER: _builtins.int
156
+ READ_MASK_FIELD_NUMBER: _builtins.int
157
+ FILTER_FIELD_NUMBER: _builtins.int
158
+ parent: _builtins.str
159
+ page_size: _builtins.int
160
+ page_token: _builtins.str
161
+ filter: _builtins.str
162
+ @_builtins.property
163
+ def read_mask(self) -> _field_mask_pb2.FieldMask: ...
164
+ def __init__(
165
+ self,
166
+ *,
167
+ parent: _builtins.str = ...,
168
+ page_size: _builtins.int = ...,
169
+ page_token: _builtins.str = ...,
170
+ read_mask: _field_mask_pb2.FieldMask | None = ...,
171
+ filter: _builtins.str = ...,
172
+ ) -> None: ...
173
+ _HasFieldArgType: _TypeAlias = _typing.Literal["read_mask", b"read_mask"] # noqa: Y015
174
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
175
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "parent", b"parent", "read_mask", b"read_mask"] # noqa: Y015
176
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
177
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
178
+
179
+ Global___ListFlowsRequest: _TypeAlias = ListFlowsRequest # noqa: Y015
180
+
181
+ @_typing.final
182
+ class ListFlowsResponse(_message.Message):
183
+ DESCRIPTOR: _descriptor.Descriptor
184
+
185
+ FLOWS_FIELD_NUMBER: _builtins.int
186
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: _builtins.int
187
+ next_page_token: _builtins.str
188
+ @_builtins.property
189
+ def flows(self) -> _containers.RepeatedCompositeFieldContainer[Global___Flow]: ...
190
+ def __init__(
191
+ self,
192
+ *,
193
+ flows: _abc.Iterable[Global___Flow] | None = ...,
194
+ next_page_token: _builtins.str = ...,
195
+ ) -> None: ...
196
+ _HasFieldArgType: _TypeAlias = _Never # noqa: Y015
197
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
198
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["flows", b"flows", "next_page_token", b"next_page_token"] # noqa: Y015
199
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
200
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
201
+
202
+ Global___ListFlowsResponse: _TypeAlias = ListFlowsResponse # noqa: Y015
203
+
204
+ @_typing.final
205
+ class StreamFlowsRequest(_message.Message):
206
+ DESCRIPTOR: _descriptor.Descriptor
207
+
208
+ PARENT_FIELD_NUMBER: _builtins.int
209
+ READ_MASK_FIELD_NUMBER: _builtins.int
210
+ parent: _builtins.str
211
+ @_builtins.property
212
+ def read_mask(self) -> _field_mask_pb2.FieldMask: ...
213
+ def __init__(
214
+ self,
215
+ *,
216
+ parent: _builtins.str = ...,
217
+ read_mask: _field_mask_pb2.FieldMask | None = ...,
218
+ ) -> None: ...
219
+ _HasFieldArgType: _TypeAlias = _typing.Literal["read_mask", b"read_mask"] # noqa: Y015
220
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
221
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["parent", b"parent", "read_mask", b"read_mask"] # noqa: Y015
222
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
223
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
224
+
225
+ Global___StreamFlowsRequest: _TypeAlias = StreamFlowsRequest # noqa: Y015
226
+
227
+ @_typing.final
228
+ class GenerateFlowTreeRequest(_message.Message):
229
+ DESCRIPTOR: _descriptor.Descriptor
230
+
231
+ NAME_FIELD_NUMBER: _builtins.int
232
+ MAX_DEPTH_FIELD_NUMBER: _builtins.int
233
+ READ_MASK_FIELD_NUMBER: _builtins.int
234
+ FILTER_FIELD_NUMBER: _builtins.int
235
+ name: _builtins.str
236
+ max_depth: _builtins.int
237
+ filter: _builtins.str
238
+ @_builtins.property
239
+ def read_mask(self) -> _field_mask_pb2.FieldMask: ...
240
+ def __init__(
241
+ self,
242
+ *,
243
+ name: _builtins.str = ...,
244
+ max_depth: _builtins.int = ...,
245
+ read_mask: _field_mask_pb2.FieldMask | None = ...,
246
+ filter: _builtins.str = ...,
247
+ ) -> None: ...
248
+ _HasFieldArgType: _TypeAlias = _typing.Literal["read_mask", b"read_mask"] # noqa: Y015
249
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
250
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["filter", b"filter", "max_depth", b"max_depth", "name", b"name", "read_mask", b"read_mask"] # noqa: Y015
251
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
252
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
253
+
254
+ Global___GenerateFlowTreeRequest: _TypeAlias = GenerateFlowTreeRequest # noqa: Y015
255
+
256
+ @_typing.final
257
+ class GenerateFlowTreeResponse(_message.Message):
258
+ DESCRIPTOR: _descriptor.Descriptor
259
+
260
+ @_typing.final
261
+ class StepChildren(_message.Message):
262
+ DESCRIPTOR: _descriptor.Descriptor
263
+
264
+ ID_FIELD_NUMBER: _builtins.int
265
+ CHILDREN_FIELD_NUMBER: _builtins.int
266
+ id: _builtins.str
267
+ @_builtins.property
268
+ def children(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
269
+ def __init__(
270
+ self,
271
+ *,
272
+ id: _builtins.str = ...,
273
+ children: _abc.Iterable[_builtins.str] | None = ...,
274
+ ) -> None: ...
275
+ _HasFieldArgType: _TypeAlias = _Never # noqa: Y015
276
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
277
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "id", b"id"] # noqa: Y015
278
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
279
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
280
+
281
+ FLOW_FIELD_NUMBER: _builtins.int
282
+ STEP_CHILDREN_FIELD_NUMBER: _builtins.int
283
+ @_builtins.property
284
+ def flow(self) -> Global___Flow: ...
285
+ @_builtins.property
286
+ def step_children(self) -> _containers.RepeatedCompositeFieldContainer[Global___GenerateFlowTreeResponse.StepChildren]: ...
287
+ def __init__(
288
+ self,
289
+ *,
290
+ flow: Global___Flow | None = ...,
291
+ step_children: _abc.Iterable[Global___GenerateFlowTreeResponse.StepChildren] | None = ...,
292
+ ) -> None: ...
293
+ _HasFieldArgType: _TypeAlias = _typing.Literal["flow", b"flow"] # noqa: Y015
294
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
295
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["flow", b"flow", "step_children", b"step_children"] # noqa: Y015
296
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
297
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
298
+
299
+ Global___GenerateFlowTreeResponse: _TypeAlias = GenerateFlowTreeResponse # noqa: Y015
@@ -0,0 +1,314 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+ from alis.open.flows.v1 import flows_pb2 as alis_dot_open_dot_flows_dot_v1_dot_flows__pb2
7
+ from alis.open.pubsub.v1 import pubsub_pb2 as alis_dot_open_dot_pubsub_dot_v1_dot_pubsub__pb2
8
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
9
+
10
+ GRPC_GENERATED_VERSION = '1.81.1'
11
+ GRPC_VERSION = grpc.__version__
12
+ _version_not_supported = False
13
+
14
+ try:
15
+ from grpc._utilities import first_version_is_lower
16
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
17
+ except ImportError:
18
+ _version_not_supported = True
19
+
20
+ if _version_not_supported:
21
+ raise RuntimeError(
22
+ f'The grpc package installed is at version {GRPC_VERSION},'
23
+ + ' but the generated code in alis/open/flows/v1/flows_pb2_grpc.py depends on'
24
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
25
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
26
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
27
+ )
28
+
29
+
30
+ class FlowsServiceStub:
31
+ """Missing associated documentation comment in .proto file."""
32
+
33
+ def __init__(self, channel):
34
+ """Constructor.
35
+
36
+ Args:
37
+ channel: A grpc.Channel.
38
+ """
39
+ self.GetFlow = channel.unary_unary(
40
+ '/alis.open.flows.v1.FlowsService/GetFlow',
41
+ request_serializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GetFlowRequest.SerializeToString,
42
+ response_deserializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.Flow.FromString,
43
+ _registered_method=True)
44
+ self.ListFlows = channel.unary_unary(
45
+ '/alis.open.flows.v1.FlowsService/ListFlows',
46
+ request_serializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.ListFlowsRequest.SerializeToString,
47
+ response_deserializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.ListFlowsResponse.FromString,
48
+ _registered_method=True)
49
+ self.StreamFlows = channel.unary_stream(
50
+ '/alis.open.flows.v1.FlowsService/StreamFlows',
51
+ request_serializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.StreamFlowsRequest.SerializeToString,
52
+ response_deserializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.Flow.FromString,
53
+ _registered_method=True)
54
+ self.GenerateFlowTree = channel.unary_unary(
55
+ '/alis.open.flows.v1.FlowsService/GenerateFlowTree',
56
+ request_serializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GenerateFlowTreeRequest.SerializeToString,
57
+ response_deserializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GenerateFlowTreeResponse.FromString,
58
+ _registered_method=True)
59
+ self.HandleEvent = channel.unary_unary(
60
+ '/alis.open.flows.v1.FlowsService/HandleEvent',
61
+ request_serializer=alis_dot_open_dot_pubsub_dot_v1_dot_pubsub__pb2.PubSubMessage.SerializeToString,
62
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
63
+ _registered_method=True)
64
+ self.HandleDeadLetter = channel.unary_unary(
65
+ '/alis.open.flows.v1.FlowsService/HandleDeadLetter',
66
+ request_serializer=alis_dot_open_dot_pubsub_dot_v1_dot_pubsub__pb2.PubSubMessage.SerializeToString,
67
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
68
+ _registered_method=True)
69
+
70
+
71
+ class FlowsServiceServicer:
72
+ """Missing associated documentation comment in .proto file."""
73
+
74
+ def GetFlow(self, request, context):
75
+ """Missing associated documentation comment in .proto file."""
76
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
77
+ context.set_details('Method not implemented!')
78
+ raise NotImplementedError('Method not implemented!')
79
+
80
+ def ListFlows(self, request, context):
81
+ """Missing associated documentation comment in .proto file."""
82
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
83
+ context.set_details('Method not implemented!')
84
+ raise NotImplementedError('Method not implemented!')
85
+
86
+ def StreamFlows(self, request, context):
87
+ """Missing associated documentation comment in .proto file."""
88
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
89
+ context.set_details('Method not implemented!')
90
+ raise NotImplementedError('Method not implemented!')
91
+
92
+ def GenerateFlowTree(self, request, context):
93
+ """Missing associated documentation comment in .proto file."""
94
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
95
+ context.set_details('Method not implemented!')
96
+ raise NotImplementedError('Method not implemented!')
97
+
98
+ def HandleEvent(self, request, context):
99
+ """Missing associated documentation comment in .proto file."""
100
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
101
+ context.set_details('Method not implemented!')
102
+ raise NotImplementedError('Method not implemented!')
103
+
104
+ def HandleDeadLetter(self, request, context):
105
+ """Missing associated documentation comment in .proto file."""
106
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
107
+ context.set_details('Method not implemented!')
108
+ raise NotImplementedError('Method not implemented!')
109
+
110
+
111
+ def add_FlowsServiceServicer_to_server(servicer, server):
112
+ rpc_method_handlers = {
113
+ 'GetFlow': grpc.unary_unary_rpc_method_handler(
114
+ servicer.GetFlow,
115
+ request_deserializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GetFlowRequest.FromString,
116
+ response_serializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.Flow.SerializeToString,
117
+ ),
118
+ 'ListFlows': grpc.unary_unary_rpc_method_handler(
119
+ servicer.ListFlows,
120
+ request_deserializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.ListFlowsRequest.FromString,
121
+ response_serializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.ListFlowsResponse.SerializeToString,
122
+ ),
123
+ 'StreamFlows': grpc.unary_stream_rpc_method_handler(
124
+ servicer.StreamFlows,
125
+ request_deserializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.StreamFlowsRequest.FromString,
126
+ response_serializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.Flow.SerializeToString,
127
+ ),
128
+ 'GenerateFlowTree': grpc.unary_unary_rpc_method_handler(
129
+ servicer.GenerateFlowTree,
130
+ request_deserializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GenerateFlowTreeRequest.FromString,
131
+ response_serializer=alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GenerateFlowTreeResponse.SerializeToString,
132
+ ),
133
+ 'HandleEvent': grpc.unary_unary_rpc_method_handler(
134
+ servicer.HandleEvent,
135
+ request_deserializer=alis_dot_open_dot_pubsub_dot_v1_dot_pubsub__pb2.PubSubMessage.FromString,
136
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
137
+ ),
138
+ 'HandleDeadLetter': grpc.unary_unary_rpc_method_handler(
139
+ servicer.HandleDeadLetter,
140
+ request_deserializer=alis_dot_open_dot_pubsub_dot_v1_dot_pubsub__pb2.PubSubMessage.FromString,
141
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
142
+ ),
143
+ }
144
+ generic_handler = grpc.method_handlers_generic_handler(
145
+ 'alis.open.flows.v1.FlowsService', rpc_method_handlers)
146
+ server.add_generic_rpc_handlers((generic_handler,))
147
+ server.add_registered_method_handlers('alis.open.flows.v1.FlowsService', rpc_method_handlers)
148
+
149
+
150
+ # This class is part of an EXPERIMENTAL API.
151
+ class FlowsService:
152
+ """Missing associated documentation comment in .proto file."""
153
+
154
+ @staticmethod
155
+ def GetFlow(request,
156
+ target,
157
+ options=(),
158
+ channel_credentials=None,
159
+ call_credentials=None,
160
+ insecure=False,
161
+ compression=None,
162
+ wait_for_ready=None,
163
+ timeout=None,
164
+ metadata=None):
165
+ return grpc.experimental.unary_unary(
166
+ request,
167
+ target,
168
+ '/alis.open.flows.v1.FlowsService/GetFlow',
169
+ alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GetFlowRequest.SerializeToString,
170
+ alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.Flow.FromString,
171
+ options,
172
+ channel_credentials,
173
+ insecure,
174
+ call_credentials,
175
+ compression,
176
+ wait_for_ready,
177
+ timeout,
178
+ metadata,
179
+ _registered_method=True)
180
+
181
+ @staticmethod
182
+ def ListFlows(request,
183
+ target,
184
+ options=(),
185
+ channel_credentials=None,
186
+ call_credentials=None,
187
+ insecure=False,
188
+ compression=None,
189
+ wait_for_ready=None,
190
+ timeout=None,
191
+ metadata=None):
192
+ return grpc.experimental.unary_unary(
193
+ request,
194
+ target,
195
+ '/alis.open.flows.v1.FlowsService/ListFlows',
196
+ alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.ListFlowsRequest.SerializeToString,
197
+ alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.ListFlowsResponse.FromString,
198
+ options,
199
+ channel_credentials,
200
+ insecure,
201
+ call_credentials,
202
+ compression,
203
+ wait_for_ready,
204
+ timeout,
205
+ metadata,
206
+ _registered_method=True)
207
+
208
+ @staticmethod
209
+ def StreamFlows(request,
210
+ target,
211
+ options=(),
212
+ channel_credentials=None,
213
+ call_credentials=None,
214
+ insecure=False,
215
+ compression=None,
216
+ wait_for_ready=None,
217
+ timeout=None,
218
+ metadata=None):
219
+ return grpc.experimental.unary_stream(
220
+ request,
221
+ target,
222
+ '/alis.open.flows.v1.FlowsService/StreamFlows',
223
+ alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.StreamFlowsRequest.SerializeToString,
224
+ alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.Flow.FromString,
225
+ options,
226
+ channel_credentials,
227
+ insecure,
228
+ call_credentials,
229
+ compression,
230
+ wait_for_ready,
231
+ timeout,
232
+ metadata,
233
+ _registered_method=True)
234
+
235
+ @staticmethod
236
+ def GenerateFlowTree(request,
237
+ target,
238
+ options=(),
239
+ channel_credentials=None,
240
+ call_credentials=None,
241
+ insecure=False,
242
+ compression=None,
243
+ wait_for_ready=None,
244
+ timeout=None,
245
+ metadata=None):
246
+ return grpc.experimental.unary_unary(
247
+ request,
248
+ target,
249
+ '/alis.open.flows.v1.FlowsService/GenerateFlowTree',
250
+ alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GenerateFlowTreeRequest.SerializeToString,
251
+ alis_dot_open_dot_flows_dot_v1_dot_flows__pb2.GenerateFlowTreeResponse.FromString,
252
+ options,
253
+ channel_credentials,
254
+ insecure,
255
+ call_credentials,
256
+ compression,
257
+ wait_for_ready,
258
+ timeout,
259
+ metadata,
260
+ _registered_method=True)
261
+
262
+ @staticmethod
263
+ def HandleEvent(request,
264
+ target,
265
+ options=(),
266
+ channel_credentials=None,
267
+ call_credentials=None,
268
+ insecure=False,
269
+ compression=None,
270
+ wait_for_ready=None,
271
+ timeout=None,
272
+ metadata=None):
273
+ return grpc.experimental.unary_unary(
274
+ request,
275
+ target,
276
+ '/alis.open.flows.v1.FlowsService/HandleEvent',
277
+ alis_dot_open_dot_pubsub_dot_v1_dot_pubsub__pb2.PubSubMessage.SerializeToString,
278
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
279
+ options,
280
+ channel_credentials,
281
+ insecure,
282
+ call_credentials,
283
+ compression,
284
+ wait_for_ready,
285
+ timeout,
286
+ metadata,
287
+ _registered_method=True)
288
+
289
+ @staticmethod
290
+ def HandleDeadLetter(request,
291
+ target,
292
+ options=(),
293
+ channel_credentials=None,
294
+ call_credentials=None,
295
+ insecure=False,
296
+ compression=None,
297
+ wait_for_ready=None,
298
+ timeout=None,
299
+ metadata=None):
300
+ return grpc.experimental.unary_unary(
301
+ request,
302
+ target,
303
+ '/alis.open.flows.v1.FlowsService/HandleDeadLetter',
304
+ alis_dot_open_dot_pubsub_dot_v1_dot_pubsub__pb2.PubSubMessage.SerializeToString,
305
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
306
+ options,
307
+ channel_credentials,
308
+ insecure,
309
+ call_credentials,
310
+ compression,
311
+ wait_for_ready,
312
+ timeout,
313
+ metadata,
314
+ _registered_method=True)
@@ -0,0 +1,96 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ from alis.open.flows.v1 import flows_pb2 as _flows_pb2
7
+ from alis.open.pubsub.v1 import pubsub_pb2 as _pubsub_pb2
8
+ from collections import abc as _abc
9
+ from google.protobuf import empty_pb2 as _empty_pb2
10
+ from grpc import aio as _aio
11
+ import abc as _abc_1
12
+ import grpc as _grpc
13
+ import sys
14
+ import typing as _typing
15
+
16
+ if sys.version_info >= (3, 11):
17
+ from typing import Self as _Self
18
+ else:
19
+ from typing_extensions import Self as _Self
20
+
21
+ _T = _typing.TypeVar("_T")
22
+
23
+ class _MaybeAsyncIterator(_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta): ...
24
+
25
+ class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
26
+ ...
27
+
28
+ GRPC_GENERATED_VERSION: str
29
+ GRPC_VERSION: str
30
+
31
+ class FlowsServiceStub:
32
+ @_typing.overload
33
+ def __new__(cls, channel: _grpc.Channel) -> _Self: ...
34
+ @_typing.overload
35
+ def __new__(cls, channel: _aio.Channel) -> FlowsServiceAsyncStub: ...
36
+ GetFlow: _grpc.UnaryUnaryMultiCallable[_flows_pb2.GetFlowRequest, _flows_pb2.Flow]
37
+ ListFlows: _grpc.UnaryUnaryMultiCallable[_flows_pb2.ListFlowsRequest, _flows_pb2.ListFlowsResponse]
38
+ StreamFlows: _grpc.UnaryStreamMultiCallable[_flows_pb2.StreamFlowsRequest, _flows_pb2.Flow]
39
+ GenerateFlowTree: _grpc.UnaryUnaryMultiCallable[_flows_pb2.GenerateFlowTreeRequest, _flows_pb2.GenerateFlowTreeResponse]
40
+ HandleEvent: _grpc.UnaryUnaryMultiCallable[_pubsub_pb2.PubSubMessage, _empty_pb2.Empty]
41
+ HandleDeadLetter: _grpc.UnaryUnaryMultiCallable[_pubsub_pb2.PubSubMessage, _empty_pb2.Empty]
42
+
43
+ @_typing.type_check_only
44
+ class FlowsServiceAsyncStub(FlowsServiceStub):
45
+ def __init__(self, channel: _aio.Channel) -> None: ...
46
+ GetFlow: _aio.UnaryUnaryMultiCallable[_flows_pb2.GetFlowRequest, _flows_pb2.Flow] # type: ignore[assignment]
47
+ ListFlows: _aio.UnaryUnaryMultiCallable[_flows_pb2.ListFlowsRequest, _flows_pb2.ListFlowsResponse] # type: ignore[assignment]
48
+ StreamFlows: _aio.UnaryStreamMultiCallable[_flows_pb2.StreamFlowsRequest, _flows_pb2.Flow] # type: ignore[assignment]
49
+ GenerateFlowTree: _aio.UnaryUnaryMultiCallable[_flows_pb2.GenerateFlowTreeRequest, _flows_pb2.GenerateFlowTreeResponse] # type: ignore[assignment]
50
+ HandleEvent: _aio.UnaryUnaryMultiCallable[_pubsub_pb2.PubSubMessage, _empty_pb2.Empty] # type: ignore[assignment]
51
+ HandleDeadLetter: _aio.UnaryUnaryMultiCallable[_pubsub_pb2.PubSubMessage, _empty_pb2.Empty] # type: ignore[assignment]
52
+
53
+ class FlowsServiceServicer(metaclass=_abc_1.ABCMeta):
54
+ @_abc_1.abstractmethod
55
+ def GetFlow(
56
+ self,
57
+ request: _flows_pb2.GetFlowRequest,
58
+ context: _ServicerContext,
59
+ ) -> _typing.Union[_flows_pb2.Flow, _abc.Awaitable[_flows_pb2.Flow]]: ...
60
+
61
+ @_abc_1.abstractmethod
62
+ def ListFlows(
63
+ self,
64
+ request: _flows_pb2.ListFlowsRequest,
65
+ context: _ServicerContext,
66
+ ) -> _typing.Union[_flows_pb2.ListFlowsResponse, _abc.Awaitable[_flows_pb2.ListFlowsResponse]]: ...
67
+
68
+ @_abc_1.abstractmethod
69
+ def StreamFlows(
70
+ self,
71
+ request: _flows_pb2.StreamFlowsRequest,
72
+ context: _ServicerContext,
73
+ ) -> _typing.Union[_abc.Iterator[_flows_pb2.Flow], _abc.AsyncIterator[_flows_pb2.Flow]]: ...
74
+
75
+ @_abc_1.abstractmethod
76
+ def GenerateFlowTree(
77
+ self,
78
+ request: _flows_pb2.GenerateFlowTreeRequest,
79
+ context: _ServicerContext,
80
+ ) -> _typing.Union[_flows_pb2.GenerateFlowTreeResponse, _abc.Awaitable[_flows_pb2.GenerateFlowTreeResponse]]: ...
81
+
82
+ @_abc_1.abstractmethod
83
+ def HandleEvent(
84
+ self,
85
+ request: _pubsub_pb2.PubSubMessage,
86
+ context: _ServicerContext,
87
+ ) -> _typing.Union[_empty_pb2.Empty, _abc.Awaitable[_empty_pb2.Empty]]: ...
88
+
89
+ @_abc_1.abstractmethod
90
+ def HandleDeadLetter(
91
+ self,
92
+ request: _pubsub_pb2.PubSubMessage,
93
+ context: _ServicerContext,
94
+ ) -> _typing.Union[_empty_pb2.Empty, _abc.Awaitable[_empty_pb2.Empty]]: ...
95
+
96
+ def add_FlowsServiceServicer_to_server(servicer: FlowsServiceServicer, server: _typing.Union[_grpc.Server, _aio.Server]) -> None: ...
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: alis.open.flows.v1
3
+ Version: 1.2.0
4
+ Summary: Protobufs generated by Alis Build
5
+ Requires-Dist: google-common-protos>=0.0.1
6
+ Requires-Dist: alis-services-protobuf-open>=1.176.0
7
+ Dynamic: requires-dist
8
+ Dynamic: summary
@@ -0,0 +1,18 @@
1
+ setup.py
2
+ alis/__init__.py
3
+ alis/__init__.pyi
4
+ alis.open.flows.v1.egg-info/PKG-INFO
5
+ alis.open.flows.v1.egg-info/SOURCES.txt
6
+ alis.open.flows.v1.egg-info/dependency_links.txt
7
+ alis.open.flows.v1.egg-info/requires.txt
8
+ alis.open.flows.v1.egg-info/top_level.txt
9
+ alis/open/__init__.py
10
+ alis/open/__init__.pyi
11
+ alis/open/flows/__init__.py
12
+ alis/open/flows/__init__.pyi
13
+ alis/open/flows/v1/__init__.py
14
+ alis/open/flows/v1/__init__.pyi
15
+ alis/open/flows/v1/flows_pb2.py
16
+ alis/open/flows/v1/flows_pb2.pyi
17
+ alis/open/flows/v1/flows_pb2_grpc.py
18
+ alis/open/flows/v1/flows_pb2_grpc.pyi
@@ -0,0 +1,2 @@
1
+ google-common-protos>=0.0.1
2
+ alis-services-protobuf-open>=1.176.0
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,38 @@
1
+ import setuptools
2
+ import os
3
+ import glob
4
+
5
+ def find_package_data(base, globs, root="alis_protobuf"):
6
+ """Find all interesting data files, for setup(package_data=)
7
+ Arguments:
8
+ root: The directory to search in.
9
+ globs: A list of glob patterns to accept files.
10
+ """
11
+
12
+ rv_dirs = [root for root, dirs, files in os.walk(base)]
13
+ rv = []
14
+ for rv_dir in rv_dirs:
15
+ files = []
16
+ for pat in globs:
17
+ files += glob.glob(os.path.join(rv_dir, pat))
18
+ if not files:
19
+ continue
20
+ rv.extend([os.path.relpath(f, root) for f in files])
21
+ return rv
22
+
23
+ package_data = find_package_data("alis_protobuf", ["*.py", "*.pyi"])
24
+
25
+ setuptools.setup(
26
+ name="alis.open.flows.v1",
27
+ version="1.2.0",
28
+ description="Protobufs generated by Alis Build",
29
+ packages=setuptools.find_packages(),
30
+ include_package_data=True,
31
+ package_data={ # Optional
32
+ "alis_protobuf": package_data,
33
+ },
34
+ install_requires=[
35
+ 'google-common-protos>=0.0.1',
36
+ 'alis-services-protobuf-open>=1.176.0'
37
+ ]
38
+ )