pgfsm-proto-codegen 0.2.0__tar.gz → 0.3.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.
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/PKG-INFO +1 -1
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm/sidecargateway/v1/sidecar_gateway_pb2.py +12 -10
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm/sidecargateway/v1/sidecar_gateway_pb2.pyi +16 -2
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/PKG-INFO +1 -1
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pyproject.toml +1 -1
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/README.md +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm/activitygateway/v1/activity_gateway_pb2.py +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm/activitygateway/v1/activity_gateway_pb2.pyi +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm/activitygateway/v1/activity_gateway_pb2_grpc.py +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm/sidecargateway/v1/sidecar_gateway_pb2_grpc.py +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/SOURCES.txt +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/dependency_links.txt +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/requires.txt +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/top_level.txt +0 -0
- {pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pgfsm-proto-codegen
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Generated protobuf + gRPC stubs for the pgfsm Activity Gateway and Sidecar Gateway contracts.
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Repository, https://github.com/pgfsm/fsm
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-pgfsm/sidecargateway/v1/sidecar_gateway.proto\x12\x17pgfsm.sidecargateway.v1\"\xa7\x03\n\x0fRegisteredActor\x12&\n\x0fparent_fsm_name\x18\x01 \x01(\tR\rparentFsmName\x12,\n\x12parent_fsm_version\x18\x02 \x01(\tR\x10parentFsmVersion\x12\x30\n\x14\x61sync_operation_type\x18\x03 \x01(\tR\x12\x61syncOperationType\x12\x30\n\x14\x61sync_operation_name\x18\x04 \x01(\tR\x12\x61syncOperationName\x12\x36\n\x17\x61sync_operation_version\x18\x05 \x01(\tR\x15\x61syncOperationVersion\x12\x38\n\x18\x61sync_operation_language\x18\x06 \x01(\tR\x16\x61syncOperationLanguage\x12\x1d\n\ntimeout_ms\x18\x07 \x01(\rR\ttimeoutMs\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12\'\n\x0fmax_concurrency\x18\t \x01(\rR\x0emaxConcurrency\"\xb0\x01\n\x08Register\x12\x1b\n\tworker_id\x18\x01 \x01(\tR\x08workerId\x12\x1a\n\x08language\x18\x02 \x01(\tR\x08language\x12)\n\x10protocol_version\x18\x03 \x01(\tR\x0fprotocolVersion\x12@\n\x06\x61\x63tors\x18\x04 \x03(\x0b\x32(.pgfsm.sidecargateway.v1.RegisteredActorR\x06\x61\x63tors\"\xb9\x01\n\x0bRegisterAck\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12\x38\n\x18gateway_protocol_version\x18\x02 \x01(\tR\x16gatewayProtocolVersion\x12+\n\x11registered_actors\x18\x03 \x03(\tR\x10registeredActors\x12\'\n\x0frejected_actors\x18\x04 \x03(\tR\x0erejectedActors\"(\n\tHeartbeat\x12\x1b\n\tworker_id\x18\x01 \x01(\tR\x08workerId\"\x81\x04\n\x06Invoke\x12\x1b\n\tinvoke_id\x18\x01 \x01(\tR\x08invokeId\x12&\n\x0fparent_fsm_name\x18\x02 \x01(\tR\rparentFsmName\x12,\n\x12parent_fsm_version\x18\x03 \x01(\tR\x10parentFsmVersion\x12\x30\n\x14\x61sync_operation_type\x18\x04 \x01(\tR\x12\x61syncOperationType\x12\x30\n\x14\x61sync_operation_name\x18\x05 \x01(\tR\x12\x61syncOperationName\x12\x36\n\x17\x61sync_operation_version\x18\x06 \x01(\tR\x15\x61syncOperationVersion\x12\x38\n\x18\x61sync_operation_language\x18\x07 \x01(\tR\x16\x61syncOperationLanguage\x12\x1d\n\ninput_json\x18\x08 \x01(\tR\tinputJson\x12\x1f\n\x0binstance_id\x18\t \x01(\tR\ninstanceId\x12%\n\x0e\x63orrelation_id\x18\n \x01(\tR\rcorrelationId\x12\x1d\n\ntimeout_ms\x18\x0b \x01(\rR\ttimeoutMs\x12(\n\x10\x64\x65\x61\x64line_unix_ms\x18\x0c \x01(\x03R\x0e\x64\x65\x61\x64lineUnixMs\"m\n\x0cInvokeResult\x12\x1b\n\tinvoke_id\x18\x01 \x01(\tR\x08invokeId\x12\x1f\n\x0boutput_json\x18\x02 \x01(\tR\noutputJson\x12\x1f\n\x0b\x64uration_ms\x18\x03 \x01(\rR\ndurationMs\"_\n\x11InvokeErrorDetail\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x1c\n\tretriable\x18\x03 \x01(\x08R\tretriable\"\x8d\x01\n\x0bInvokeError\x12\x1b\n\tinvoke_id\x18\x01 \x01(\tR\x08invokeId\x12@\n\x05\x65rror\x18\x02 \x01(\x0b\x32*.pgfsm.sidecargateway.v1.InvokeErrorDetailR\x05\x65rror\x12\x1f\n\x0b\x64uration_ms\x18\x03 \x01(\rR\ndurationMs\"
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-pgfsm/sidecargateway/v1/sidecar_gateway.proto\x12\x17pgfsm.sidecargateway.v1\"\xa7\x03\n\x0fRegisteredActor\x12&\n\x0fparent_fsm_name\x18\x01 \x01(\tR\rparentFsmName\x12,\n\x12parent_fsm_version\x18\x02 \x01(\tR\x10parentFsmVersion\x12\x30\n\x14\x61sync_operation_type\x18\x03 \x01(\tR\x12\x61syncOperationType\x12\x30\n\x14\x61sync_operation_name\x18\x04 \x01(\tR\x12\x61syncOperationName\x12\x36\n\x17\x61sync_operation_version\x18\x05 \x01(\tR\x15\x61syncOperationVersion\x12\x38\n\x18\x61sync_operation_language\x18\x06 \x01(\tR\x16\x61syncOperationLanguage\x12\x1d\n\ntimeout_ms\x18\x07 \x01(\rR\ttimeoutMs\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12\'\n\x0fmax_concurrency\x18\t \x01(\rR\x0emaxConcurrency\"\xb0\x01\n\x08Register\x12\x1b\n\tworker_id\x18\x01 \x01(\tR\x08workerId\x12\x1a\n\x08language\x18\x02 \x01(\tR\x08language\x12)\n\x10protocol_version\x18\x03 \x01(\tR\x0fprotocolVersion\x12@\n\x06\x61\x63tors\x18\x04 \x03(\x0b\x32(.pgfsm.sidecargateway.v1.RegisteredActorR\x06\x61\x63tors\"\xb9\x01\n\x0bRegisterAck\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12\x38\n\x18gateway_protocol_version\x18\x02 \x01(\tR\x16gatewayProtocolVersion\x12+\n\x11registered_actors\x18\x03 \x03(\tR\x10registeredActors\x12\'\n\x0frejected_actors\x18\x04 \x03(\tR\x0erejectedActors\"(\n\tHeartbeat\x12\x1b\n\tworker_id\x18\x01 \x01(\tR\x08workerId\"\x81\x04\n\x06Invoke\x12\x1b\n\tinvoke_id\x18\x01 \x01(\tR\x08invokeId\x12&\n\x0fparent_fsm_name\x18\x02 \x01(\tR\rparentFsmName\x12,\n\x12parent_fsm_version\x18\x03 \x01(\tR\x10parentFsmVersion\x12\x30\n\x14\x61sync_operation_type\x18\x04 \x01(\tR\x12\x61syncOperationType\x12\x30\n\x14\x61sync_operation_name\x18\x05 \x01(\tR\x12\x61syncOperationName\x12\x36\n\x17\x61sync_operation_version\x18\x06 \x01(\tR\x15\x61syncOperationVersion\x12\x38\n\x18\x61sync_operation_language\x18\x07 \x01(\tR\x16\x61syncOperationLanguage\x12\x1d\n\ninput_json\x18\x08 \x01(\tR\tinputJson\x12\x1f\n\x0binstance_id\x18\t \x01(\tR\ninstanceId\x12%\n\x0e\x63orrelation_id\x18\n \x01(\tR\rcorrelationId\x12\x1d\n\ntimeout_ms\x18\x0b \x01(\rR\ttimeoutMs\x12(\n\x10\x64\x65\x61\x64line_unix_ms\x18\x0c \x01(\x03R\x0e\x64\x65\x61\x64lineUnixMs\"m\n\x0cInvokeResult\x12\x1b\n\tinvoke_id\x18\x01 \x01(\tR\x08invokeId\x12\x1f\n\x0boutput_json\x18\x02 \x01(\tR\noutputJson\x12\x1f\n\x0b\x64uration_ms\x18\x03 \x01(\rR\ndurationMs\"_\n\x11InvokeErrorDetail\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x1c\n\tretriable\x18\x03 \x01(\x08R\tretriable\"\x8d\x01\n\x0bInvokeError\x12\x1b\n\tinvoke_id\x18\x01 \x01(\tR\x08invokeId\x12@\n\x05\x65rror\x18\x02 \x01(\x0b\x32*.pgfsm.sidecargateway.v1.InvokeErrorDetailR\x05\x65rror\x12\x1f\n\x0b\x64uration_ms\x18\x03 \x01(\rR\ndurationMs\"d\n\x06\x43\x61ncel\x12\x1b\n\tinvoke_id\x18\x01 \x01(\tR\x08invokeId\x12=\n\x06reason\x18\x02 \x01(\x0e\x32%.pgfsm.sidecargateway.v1.CancelReasonR\x06reason\")\n\nUnregister\x12\x1b\n\tworker_id\x18\x01 \x01(\tR\x08workerId\"\x80\x03\n\x0eSessionRequest\x12?\n\x08register\x18\x01 \x01(\x0b\x32!.pgfsm.sidecargateway.v1.RegisterH\x00R\x08register\x12\x42\n\theartbeat\x18\x02 \x01(\x0b\x32\".pgfsm.sidecargateway.v1.HeartbeatH\x00R\theartbeat\x12L\n\rinvoke_result\x18\x03 \x01(\x0b\x32%.pgfsm.sidecargateway.v1.InvokeResultH\x00R\x0cinvokeResult\x12I\n\x0cinvoke_error\x18\x04 \x01(\x0b\x32$.pgfsm.sidecargateway.v1.InvokeErrorH\x00R\x0binvokeError\x12\x45\n\nunregister\x18\x05 \x01(\x0b\x32#.pgfsm.sidecargateway.v1.UnregisterH\x00R\nunregisterB\t\n\x07payload\"\xdd\x01\n\x0fSessionResponse\x12I\n\x0cregister_ack\x18\x01 \x01(\x0b\x32$.pgfsm.sidecargateway.v1.RegisterAckH\x00R\x0bregisterAck\x12\x39\n\x06invoke\x18\x02 \x01(\x0b\x32\x1f.pgfsm.sidecargateway.v1.InvokeH\x00R\x06invoke\x12\x39\n\x06\x63\x61ncel\x18\x03 \x01(\x0b\x32\x1f.pgfsm.sidecargateway.v1.CancelH\x00R\x06\x63\x61ncelB\t\n\x07payload*\x84\x01\n\x0c\x43\x61ncelReason\x12\x1d\n\x19\x43\x41NCEL_REASON_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43\x41NCEL_REASON_STATE_EXITED\x10\x01\x12\x19\n\x15\x43\x41NCEL_REASON_TIMEOUT\x10\x02\x12\x1a\n\x16\x43\x41NCEL_REASON_SHUTDOWN\x10\x03\x32y\n\x15SidecarGatewayService\x12`\n\x07Session\x12\'.pgfsm.sidecargateway.v1.SessionRequest\x1a(.pgfsm.sidecargateway.v1.SessionResponse(\x01\x30\x01\x42\xfa\x01\n\x1b\x63om.pgfsm.sidecargateway.v1B\x13SidecarGatewayProtoP\x01ZHgithub.com/pgfsm/fsm/packages/fsm-proto-codegen/gen/go/sidecargateway/v1\xa2\x02\x03PSX\xaa\x02\x17Pgfsm.Sidecargateway.V1\xca\x02\x17Pgfsm\\Sidecargateway\\V1\xe2\x02#Pgfsm\\Sidecargateway\\V1\\GPBMetadata\xea\x02\x19Pgfsm::Sidecargateway::V1b\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -32,6 +32,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'pgfsm.sidecargateway.v1.sid
|
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'\n\033com.pgfsm.sidecargateway.v1B\023SidecarGatewayProtoP\001ZHgithub.com/pgfsm/fsm/packages/fsm-proto-codegen/gen/go/sidecargateway/v1\242\002\003PSX\252\002\027Pgfsm.Sidecargateway.V1\312\002\027Pgfsm\\Sidecargateway\\V1\342\002#Pgfsm\\Sidecargateway\\V1\\GPBMetadata\352\002\031Pgfsm::Sidecargateway::V1'
|
|
35
|
+
_globals['_CANCELREASON']._serialized_start=2534
|
|
36
|
+
_globals['_CANCELREASON']._serialized_end=2666
|
|
35
37
|
_globals['_REGISTEREDACTOR']._serialized_start=75
|
|
36
38
|
_globals['_REGISTEREDACTOR']._serialized_end=498
|
|
37
39
|
_globals['_REGISTER']._serialized_start=501
|
|
@@ -49,13 +51,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
49
51
|
_globals['_INVOKEERROR']._serialized_start=1634
|
|
50
52
|
_globals['_INVOKEERROR']._serialized_end=1775
|
|
51
53
|
_globals['_CANCEL']._serialized_start=1777
|
|
52
|
-
_globals['_CANCEL']._serialized_end=
|
|
53
|
-
_globals['_UNREGISTER']._serialized_start=
|
|
54
|
-
_globals['_UNREGISTER']._serialized_end=
|
|
55
|
-
_globals['_SESSIONREQUEST']._serialized_start=
|
|
56
|
-
_globals['_SESSIONREQUEST']._serialized_end=
|
|
57
|
-
_globals['_SESSIONRESPONSE']._serialized_start=
|
|
58
|
-
_globals['_SESSIONRESPONSE']._serialized_end=
|
|
59
|
-
_globals['_SIDECARGATEWAYSERVICE']._serialized_start=
|
|
60
|
-
_globals['_SIDECARGATEWAYSERVICE']._serialized_end=
|
|
54
|
+
_globals['_CANCEL']._serialized_end=1877
|
|
55
|
+
_globals['_UNREGISTER']._serialized_start=1879
|
|
56
|
+
_globals['_UNREGISTER']._serialized_end=1920
|
|
57
|
+
_globals['_SESSIONREQUEST']._serialized_start=1923
|
|
58
|
+
_globals['_SESSIONREQUEST']._serialized_end=2307
|
|
59
|
+
_globals['_SESSIONRESPONSE']._serialized_start=2310
|
|
60
|
+
_globals['_SESSIONRESPONSE']._serialized_end=2531
|
|
61
|
+
_globals['_SIDECARGATEWAYSERVICE']._serialized_start=2668
|
|
62
|
+
_globals['_SIDECARGATEWAYSERVICE']._serialized_end=2789
|
|
61
63
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from google.protobuf.internal import containers as _containers
|
|
2
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
2
3
|
from google.protobuf import descriptor as _descriptor
|
|
3
4
|
from google.protobuf import message as _message
|
|
4
5
|
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
@@ -6,6 +7,17 @@ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
|
6
7
|
|
|
7
8
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
9
|
|
|
10
|
+
class CancelReason(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
11
|
+
__slots__ = ()
|
|
12
|
+
CANCEL_REASON_UNSPECIFIED: _ClassVar[CancelReason]
|
|
13
|
+
CANCEL_REASON_STATE_EXITED: _ClassVar[CancelReason]
|
|
14
|
+
CANCEL_REASON_TIMEOUT: _ClassVar[CancelReason]
|
|
15
|
+
CANCEL_REASON_SHUTDOWN: _ClassVar[CancelReason]
|
|
16
|
+
CANCEL_REASON_UNSPECIFIED: CancelReason
|
|
17
|
+
CANCEL_REASON_STATE_EXITED: CancelReason
|
|
18
|
+
CANCEL_REASON_TIMEOUT: CancelReason
|
|
19
|
+
CANCEL_REASON_SHUTDOWN: CancelReason
|
|
20
|
+
|
|
9
21
|
class RegisteredActor(_message.Message):
|
|
10
22
|
__slots__ = ("parent_fsm_name", "parent_fsm_version", "async_operation_type", "async_operation_name", "async_operation_version", "async_operation_language", "timeout_ms", "description", "max_concurrency")
|
|
11
23
|
PARENT_FSM_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -117,10 +129,12 @@ class InvokeError(_message.Message):
|
|
|
117
129
|
def __init__(self, invoke_id: _Optional[str] = ..., error: _Optional[_Union[InvokeErrorDetail, _Mapping]] = ..., duration_ms: _Optional[int] = ...) -> None: ...
|
|
118
130
|
|
|
119
131
|
class Cancel(_message.Message):
|
|
120
|
-
__slots__ = ("invoke_id",)
|
|
132
|
+
__slots__ = ("invoke_id", "reason")
|
|
121
133
|
INVOKE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
134
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
122
135
|
invoke_id: str
|
|
123
|
-
|
|
136
|
+
reason: CancelReason
|
|
137
|
+
def __init__(self, invoke_id: _Optional[str] = ..., reason: _Optional[_Union[CancelReason, str]] = ...) -> None: ...
|
|
124
138
|
|
|
125
139
|
class Unregister(_message.Message):
|
|
126
140
|
__slots__ = ("worker_id",)
|
{pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pgfsm-proto-codegen
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Generated protobuf + gRPC stubs for the pgfsm Activity Gateway and Sidecar Gateway contracts.
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Repository, https://github.com/pgfsm/fsm
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
# languages' manifests (see the package README's "Publishing").
|
|
9
9
|
[project]
|
|
10
10
|
name = "pgfsm-proto-codegen"
|
|
11
|
-
version = "0.
|
|
11
|
+
version = "0.3.0"
|
|
12
12
|
description = "Generated protobuf + gRPC stubs for the pgfsm Activity Gateway and Sidecar Gateway contracts."
|
|
13
13
|
readme = "README.md"
|
|
14
14
|
license = "Apache-2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/requires.txt
RENAMED
|
File without changes
|
{pgfsm_proto_codegen-0.2.0 → pgfsm_proto_codegen-0.3.0}/pgfsm_proto_codegen.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|