hatchet-sdk 0.41.0__py3-none-any.whl → 0.42.0__py3-none-any.whl
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.
Potentially problematic release.
This version of hatchet-sdk might be problematic. Click here for more details.
- hatchet_sdk/contracts/dispatcher_pb2.py +71 -67
- hatchet_sdk/contracts/dispatcher_pb2.pyi +29 -2
- hatchet_sdk/contracts/workflows_pb2.py +42 -40
- hatchet_sdk/contracts/workflows_pb2.pyi +22 -6
- hatchet_sdk/hatchet.py +9 -0
- hatchet_sdk/workflow.py +4 -0
- {hatchet_sdk-0.41.0.dist-info → hatchet_sdk-0.42.0.dist-info}/METADATA +1 -1
- {hatchet_sdk-0.41.0.dist-info → hatchet_sdk-0.42.0.dist-info}/RECORD +10 -10
- {hatchet_sdk-0.41.0.dist-info → hatchet_sdk-0.42.0.dist-info}/entry_points.txt +1 -0
- {hatchet_sdk-0.41.0.dist-info → hatchet_sdk-0.42.0.dist-info}/WHEEL +0 -0
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10\x64ispatcher.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"V\n\x0cWorkerLabels\x12\x15\n\x08strValue\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08intValue\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_strValueB\x0b\n\t_intValue\"\x88\x02\n\x15WorkerRegisterRequest\x12\x12\n\nworkerName\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t\x12\x10\n\x08services\x18\x03 \x03(\t\x12\x14\n\x07maxRuns\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x32\n\x06labels\x18\x05 \x03(\x0b\x32\".WorkerRegisterRequest.LabelsEntry\x12\x16\n\twebhookId\x18\x06 \x01(\tH\x01\x88\x01\x01\x1a<\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.WorkerLabels:\x02\x38\x01\x42\n\n\x08_maxRunsB\x0c\n\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10\x64ispatcher.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"V\n\x0cWorkerLabels\x12\x15\n\x08strValue\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08intValue\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_strValueB\x0b\n\t_intValue\"\xc8\x01\n\x0bRuntimeInfo\x12\x17\n\nsdkVersion\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x08language\x18\x02 \x01(\x0e\x32\x05.SDKSH\x01\x88\x01\x01\x12\x1c\n\x0flanguageVersion\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x0f\n\x02os\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x05 \x01(\tH\x04\x88\x01\x01\x42\r\n\x0b_sdkVersionB\x0b\n\t_languageB\x12\n\x10_languageVersionB\x05\n\x03_osB\x08\n\x06_extra\"\xc0\x02\n\x15WorkerRegisterRequest\x12\x12\n\nworkerName\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t\x12\x10\n\x08services\x18\x03 \x03(\t\x12\x14\n\x07maxRuns\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x32\n\x06labels\x18\x05 \x03(\x0b\x32\".WorkerRegisterRequest.LabelsEntry\x12\x16\n\twebhookId\x18\x06 \x01(\tH\x01\x88\x01\x01\x12&\n\x0bruntimeInfo\x18\x07 \x01(\x0b\x32\x0c.RuntimeInfoH\x02\x88\x01\x01\x1a<\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.WorkerLabels:\x02\x38\x01\x42\n\n\x08_maxRunsB\x0c\n\n_webhookIdB\x0e\n\x0c_runtimeInfo\"P\n\x16WorkerRegisterResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\x12\x12\n\nworkerName\x18\x03 \x01(\t\"\xa3\x01\n\x19UpsertWorkerLabelsRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\x36\n\x06labels\x18\x02 \x03(\x0b\x32&.UpsertWorkerLabelsRequest.LabelsEntry\x1a<\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.WorkerLabels:\x02\x38\x01\"@\n\x1aUpsertWorkerLabelsResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\x86\x04\n\x0e\x41ssignedAction\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x15\n\rworkflowRunId\x18\x02 \x01(\t\x12\x18\n\x10getGroupKeyRunId\x18\x03 \x01(\t\x12\r\n\x05jobId\x18\x04 \x01(\t\x12\x0f\n\x07jobName\x18\x05 \x01(\t\x12\x10\n\x08jobRunId\x18\x06 \x01(\t\x12\x0e\n\x06stepId\x18\x07 \x01(\t\x12\x11\n\tstepRunId\x18\x08 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\t \x01(\t\x12\x1f\n\nactionType\x18\n \x01(\x0e\x32\x0b.ActionType\x12\x15\n\ractionPayload\x18\x0b \x01(\t\x12\x10\n\x08stepName\x18\x0c \x01(\t\x12\x12\n\nretryCount\x18\r \x01(\x05\x12 \n\x13\x61\x64\x64itional_metadata\x18\x0e \x01(\tH\x00\x88\x01\x01\x12!\n\x14\x63hild_workflow_index\x18\x0f \x01(\x05H\x01\x88\x01\x01\x12\x1f\n\x12\x63hild_workflow_key\x18\x10 \x01(\tH\x02\x88\x01\x01\x12#\n\x16parent_workflow_run_id\x18\x11 \x01(\tH\x03\x88\x01\x01\x42\x16\n\x14_additional_metadataB\x17\n\x15_child_workflow_indexB\x15\n\x13_child_workflow_keyB\x19\n\x17_parent_workflow_run_id\"\'\n\x13WorkerListenRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\",\n\x18WorkerUnsubscribeRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\"?\n\x19WorkerUnsubscribeResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\xe1\x01\n\x13GroupKeyActionEvent\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\x15\n\rworkflowRunId\x18\x02 \x01(\t\x12\x18\n\x10getGroupKeyRunId\x18\x03 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\x04 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\teventType\x18\x06 \x01(\x0e\x32\x18.GroupKeyActionEventType\x12\x14\n\x0c\x65ventPayload\x18\x07 \x01(\t\"\xec\x01\n\x0fStepActionEvent\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\r\n\x05jobId\x18\x02 \x01(\t\x12\x10\n\x08jobRunId\x18\x03 \x01(\t\x12\x0e\n\x06stepId\x18\x04 \x01(\t\x12\x11\n\tstepRunId\x18\x05 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\x06 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\teventType\x18\x08 \x01(\x0e\x32\x14.StepActionEventType\x12\x14\n\x0c\x65ventPayload\x18\t \x01(\t\"9\n\x13\x41\x63tionEventResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\xc0\x01\n SubscribeToWorkflowEventsRequest\x12\x1a\n\rworkflowRunId\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11\x61\x64\x64itionalMetaKey\x18\x02 \x01(\tH\x01\x88\x01\x01\x12 \n\x13\x61\x64\x64itionalMetaValue\x18\x03 \x01(\tH\x02\x88\x01\x01\x42\x10\n\x0e_workflowRunIdB\x14\n\x12_additionalMetaKeyB\x16\n\x14_additionalMetaValue\"7\n\x1eSubscribeToWorkflowRunsRequest\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\"\xb2\x02\n\rWorkflowEvent\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\x12#\n\x0cresourceType\x18\x02 \x01(\x0e\x32\r.ResourceType\x12%\n\teventType\x18\x03 \x01(\x0e\x32\x12.ResourceEventType\x12\x12\n\nresourceId\x18\x04 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x65ventPayload\x18\x06 \x01(\t\x12\x0e\n\x06hangup\x18\x07 \x01(\x08\x12\x18\n\x0bstepRetries\x18\x08 \x01(\x05H\x00\x88\x01\x01\x12\x17\n\nretryCount\x18\t \x01(\x05H\x01\x88\x01\x01\x42\x0e\n\x0c_stepRetriesB\r\n\x0b_retryCount\"\xa8\x01\n\x10WorkflowRunEvent\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\x12(\n\teventType\x18\x02 \x01(\x0e\x32\x15.WorkflowRunEventType\x12\x32\n\x0e\x65ventTimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1f\n\x07results\x18\x04 \x03(\x0b\x32\x0e.StepRunResult\"\x8a\x01\n\rStepRunResult\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x16\n\x0estepReadableId\x18\x02 \x01(\t\x12\x10\n\x08jobRunId\x18\x03 \x01(\t\x12\x12\n\x05\x65rror\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06output\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_errorB\t\n\x07_output\"W\n\rOverridesData\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x61llerFilename\x18\x04 \x01(\t\"\x17\n\x15OverridesDataResponse\"U\n\x10HeartbeatRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12/\n\x0bheartbeatAt\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x13\n\x11HeartbeatResponse\"F\n\x15RefreshTimeoutRequest\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x1a\n\x12incrementTimeoutBy\x18\x02 \x01(\t\"G\n\x16RefreshTimeoutResponse\x12-\n\ttimeoutAt\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\'\n\x12ReleaseSlotRequest\x12\x11\n\tstepRunId\x18\x01 \x01(\t\"\x15\n\x13ReleaseSlotResponse*7\n\x04SDKS\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02GO\x10\x01\x12\n\n\x06PYTHON\x10\x02\x12\x0e\n\nTYPESCRIPT\x10\x03*N\n\nActionType\x12\x12\n\x0eSTART_STEP_RUN\x10\x00\x12\x13\n\x0f\x43\x41NCEL_STEP_RUN\x10\x01\x12\x17\n\x13START_GET_GROUP_KEY\x10\x02*\xa2\x01\n\x17GroupKeyActionEventType\x12 \n\x1cGROUP_KEY_EVENT_TYPE_UNKNOWN\x10\x00\x12 \n\x1cGROUP_KEY_EVENT_TYPE_STARTED\x10\x01\x12\"\n\x1eGROUP_KEY_EVENT_TYPE_COMPLETED\x10\x02\x12\x1f\n\x1bGROUP_KEY_EVENT_TYPE_FAILED\x10\x03*\xac\x01\n\x13StepActionEventType\x12\x1b\n\x17STEP_EVENT_TYPE_UNKNOWN\x10\x00\x12\x1b\n\x17STEP_EVENT_TYPE_STARTED\x10\x01\x12\x1d\n\x19STEP_EVENT_TYPE_COMPLETED\x10\x02\x12\x1a\n\x16STEP_EVENT_TYPE_FAILED\x10\x03\x12 \n\x1cSTEP_EVENT_TYPE_ACKNOWLEDGED\x10\x04*e\n\x0cResourceType\x12\x19\n\x15RESOURCE_TYPE_UNKNOWN\x10\x00\x12\x1a\n\x16RESOURCE_TYPE_STEP_RUN\x10\x01\x12\x1e\n\x1aRESOURCE_TYPE_WORKFLOW_RUN\x10\x02*\xfe\x01\n\x11ResourceEventType\x12\x1f\n\x1bRESOURCE_EVENT_TYPE_UNKNOWN\x10\x00\x12\x1f\n\x1bRESOURCE_EVENT_TYPE_STARTED\x10\x01\x12!\n\x1dRESOURCE_EVENT_TYPE_COMPLETED\x10\x02\x12\x1e\n\x1aRESOURCE_EVENT_TYPE_FAILED\x10\x03\x12!\n\x1dRESOURCE_EVENT_TYPE_CANCELLED\x10\x04\x12!\n\x1dRESOURCE_EVENT_TYPE_TIMED_OUT\x10\x05\x12\x1e\n\x1aRESOURCE_EVENT_TYPE_STREAM\x10\x06*<\n\x14WorkflowRunEventType\x12$\n WORKFLOW_RUN_EVENT_TYPE_FINISHED\x10\x00\x32\xf8\x06\n\nDispatcher\x12=\n\x08Register\x12\x16.WorkerRegisterRequest\x1a\x17.WorkerRegisterResponse\"\x00\x12\x33\n\x06Listen\x12\x14.WorkerListenRequest\x1a\x0f.AssignedAction\"\x00\x30\x01\x12\x35\n\x08ListenV2\x12\x14.WorkerListenRequest\x1a\x0f.AssignedAction\"\x00\x30\x01\x12\x34\n\tHeartbeat\x12\x11.HeartbeatRequest\x1a\x12.HeartbeatResponse\"\x00\x12R\n\x19SubscribeToWorkflowEvents\x12!.SubscribeToWorkflowEventsRequest\x1a\x0e.WorkflowEvent\"\x00\x30\x01\x12S\n\x17SubscribeToWorkflowRuns\x12\x1f.SubscribeToWorkflowRunsRequest\x1a\x11.WorkflowRunEvent\"\x00(\x01\x30\x01\x12?\n\x13SendStepActionEvent\x12\x10.StepActionEvent\x1a\x14.ActionEventResponse\"\x00\x12G\n\x17SendGroupKeyActionEvent\x12\x14.GroupKeyActionEvent\x1a\x14.ActionEventResponse\"\x00\x12<\n\x10PutOverridesData\x12\x0e.OverridesData\x1a\x16.OverridesDataResponse\"\x00\x12\x46\n\x0bUnsubscribe\x12\x19.WorkerUnsubscribeRequest\x1a\x1a.WorkerUnsubscribeResponse\"\x00\x12\x43\n\x0eRefreshTimeout\x12\x16.RefreshTimeoutRequest\x1a\x17.RefreshTimeoutResponse\"\x00\x12:\n\x0bReleaseSlot\x12\x13.ReleaseSlotRequest\x1a\x14.ReleaseSlotResponse\"\x00\x12O\n\x12UpsertWorkerLabels\x12\x1a.UpsertWorkerLabelsRequest\x1a\x1b.UpsertWorkerLabelsResponse\"\x00\x42GZEgithub.com/hatchet-dev/hatchet/internal/services/dispatcher/contractsb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -27,72 +27,76 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
27
27
|
_globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
28
28
|
_globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._options = None
|
|
29
29
|
_globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
30
|
-
_globals['
|
|
31
|
-
_globals['
|
|
32
|
-
_globals['
|
|
33
|
-
_globals['
|
|
34
|
-
_globals['
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
30
|
+
_globals['_SDKS']._serialized_start=3484
|
|
31
|
+
_globals['_SDKS']._serialized_end=3539
|
|
32
|
+
_globals['_ACTIONTYPE']._serialized_start=3541
|
|
33
|
+
_globals['_ACTIONTYPE']._serialized_end=3619
|
|
34
|
+
_globals['_GROUPKEYACTIONEVENTTYPE']._serialized_start=3622
|
|
35
|
+
_globals['_GROUPKEYACTIONEVENTTYPE']._serialized_end=3784
|
|
36
|
+
_globals['_STEPACTIONEVENTTYPE']._serialized_start=3787
|
|
37
|
+
_globals['_STEPACTIONEVENTTYPE']._serialized_end=3959
|
|
38
|
+
_globals['_RESOURCETYPE']._serialized_start=3961
|
|
39
|
+
_globals['_RESOURCETYPE']._serialized_end=4062
|
|
40
|
+
_globals['_RESOURCEEVENTTYPE']._serialized_start=4065
|
|
41
|
+
_globals['_RESOURCEEVENTTYPE']._serialized_end=4319
|
|
42
|
+
_globals['_WORKFLOWRUNEVENTTYPE']._serialized_start=4321
|
|
43
|
+
_globals['_WORKFLOWRUNEVENTTYPE']._serialized_end=4381
|
|
42
44
|
_globals['_WORKERLABELS']._serialized_start=53
|
|
43
45
|
_globals['_WORKERLABELS']._serialized_end=139
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
46
|
+
_globals['_RUNTIMEINFO']._serialized_start=142
|
|
47
|
+
_globals['_RUNTIMEINFO']._serialized_end=342
|
|
48
|
+
_globals['_WORKERREGISTERREQUEST']._serialized_start=345
|
|
49
|
+
_globals['_WORKERREGISTERREQUEST']._serialized_end=665
|
|
50
|
+
_globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_start=563
|
|
51
|
+
_globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_end=623
|
|
52
|
+
_globals['_WORKERREGISTERRESPONSE']._serialized_start=667
|
|
53
|
+
_globals['_WORKERREGISTERRESPONSE']._serialized_end=747
|
|
54
|
+
_globals['_UPSERTWORKERLABELSREQUEST']._serialized_start=750
|
|
55
|
+
_globals['_UPSERTWORKERLABELSREQUEST']._serialized_end=913
|
|
56
|
+
_globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_start=563
|
|
57
|
+
_globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_end=623
|
|
58
|
+
_globals['_UPSERTWORKERLABELSRESPONSE']._serialized_start=915
|
|
59
|
+
_globals['_UPSERTWORKERLABELSRESPONSE']._serialized_end=979
|
|
60
|
+
_globals['_ASSIGNEDACTION']._serialized_start=982
|
|
61
|
+
_globals['_ASSIGNEDACTION']._serialized_end=1500
|
|
62
|
+
_globals['_WORKERLISTENREQUEST']._serialized_start=1502
|
|
63
|
+
_globals['_WORKERLISTENREQUEST']._serialized_end=1541
|
|
64
|
+
_globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_start=1543
|
|
65
|
+
_globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_end=1587
|
|
66
|
+
_globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_start=1589
|
|
67
|
+
_globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_end=1652
|
|
68
|
+
_globals['_GROUPKEYACTIONEVENT']._serialized_start=1655
|
|
69
|
+
_globals['_GROUPKEYACTIONEVENT']._serialized_end=1880
|
|
70
|
+
_globals['_STEPACTIONEVENT']._serialized_start=1883
|
|
71
|
+
_globals['_STEPACTIONEVENT']._serialized_end=2119
|
|
72
|
+
_globals['_ACTIONEVENTRESPONSE']._serialized_start=2121
|
|
73
|
+
_globals['_ACTIONEVENTRESPONSE']._serialized_end=2178
|
|
74
|
+
_globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_start=2181
|
|
75
|
+
_globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_end=2373
|
|
76
|
+
_globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_start=2375
|
|
77
|
+
_globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_end=2430
|
|
78
|
+
_globals['_WORKFLOWEVENT']._serialized_start=2433
|
|
79
|
+
_globals['_WORKFLOWEVENT']._serialized_end=2739
|
|
80
|
+
_globals['_WORKFLOWRUNEVENT']._serialized_start=2742
|
|
81
|
+
_globals['_WORKFLOWRUNEVENT']._serialized_end=2910
|
|
82
|
+
_globals['_STEPRUNRESULT']._serialized_start=2913
|
|
83
|
+
_globals['_STEPRUNRESULT']._serialized_end=3051
|
|
84
|
+
_globals['_OVERRIDESDATA']._serialized_start=3053
|
|
85
|
+
_globals['_OVERRIDESDATA']._serialized_end=3140
|
|
86
|
+
_globals['_OVERRIDESDATARESPONSE']._serialized_start=3142
|
|
87
|
+
_globals['_OVERRIDESDATARESPONSE']._serialized_end=3165
|
|
88
|
+
_globals['_HEARTBEATREQUEST']._serialized_start=3167
|
|
89
|
+
_globals['_HEARTBEATREQUEST']._serialized_end=3252
|
|
90
|
+
_globals['_HEARTBEATRESPONSE']._serialized_start=3254
|
|
91
|
+
_globals['_HEARTBEATRESPONSE']._serialized_end=3273
|
|
92
|
+
_globals['_REFRESHTIMEOUTREQUEST']._serialized_start=3275
|
|
93
|
+
_globals['_REFRESHTIMEOUTREQUEST']._serialized_end=3345
|
|
94
|
+
_globals['_REFRESHTIMEOUTRESPONSE']._serialized_start=3347
|
|
95
|
+
_globals['_REFRESHTIMEOUTRESPONSE']._serialized_end=3418
|
|
96
|
+
_globals['_RELEASESLOTREQUEST']._serialized_start=3420
|
|
97
|
+
_globals['_RELEASESLOTREQUEST']._serialized_end=3459
|
|
98
|
+
_globals['_RELEASESLOTRESPONSE']._serialized_start=3461
|
|
99
|
+
_globals['_RELEASESLOTRESPONSE']._serialized_end=3482
|
|
100
|
+
_globals['_DISPATCHER']._serialized_start=4384
|
|
101
|
+
_globals['_DISPATCHER']._serialized_end=5272
|
|
98
102
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -9,6 +9,13 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
|
|
|
9
9
|
|
|
10
10
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
11
|
|
|
12
|
+
class SDKS(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
13
|
+
__slots__ = ()
|
|
14
|
+
UNKNOWN: _ClassVar[SDKS]
|
|
15
|
+
GO: _ClassVar[SDKS]
|
|
16
|
+
PYTHON: _ClassVar[SDKS]
|
|
17
|
+
TYPESCRIPT: _ClassVar[SDKS]
|
|
18
|
+
|
|
12
19
|
class ActionType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
13
20
|
__slots__ = ()
|
|
14
21
|
START_STEP_RUN: _ClassVar[ActionType]
|
|
@@ -49,6 +56,10 @@ class ResourceEventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
|
49
56
|
class WorkflowRunEventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
50
57
|
__slots__ = ()
|
|
51
58
|
WORKFLOW_RUN_EVENT_TYPE_FINISHED: _ClassVar[WorkflowRunEventType]
|
|
59
|
+
UNKNOWN: SDKS
|
|
60
|
+
GO: SDKS
|
|
61
|
+
PYTHON: SDKS
|
|
62
|
+
TYPESCRIPT: SDKS
|
|
52
63
|
START_STEP_RUN: ActionType
|
|
53
64
|
CANCEL_STEP_RUN: ActionType
|
|
54
65
|
START_GET_GROUP_KEY: ActionType
|
|
@@ -81,8 +92,22 @@ class WorkerLabels(_message.Message):
|
|
|
81
92
|
intValue: int
|
|
82
93
|
def __init__(self, strValue: _Optional[str] = ..., intValue: _Optional[int] = ...) -> None: ...
|
|
83
94
|
|
|
95
|
+
class RuntimeInfo(_message.Message):
|
|
96
|
+
__slots__ = ("sdkVersion", "language", "languageVersion", "os", "extra")
|
|
97
|
+
SDKVERSION_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
LANGUAGE_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
LANGUAGEVERSION_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
OS_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
EXTRA_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
sdkVersion: str
|
|
103
|
+
language: SDKS
|
|
104
|
+
languageVersion: str
|
|
105
|
+
os: str
|
|
106
|
+
extra: str
|
|
107
|
+
def __init__(self, sdkVersion: _Optional[str] = ..., language: _Optional[_Union[SDKS, str]] = ..., languageVersion: _Optional[str] = ..., os: _Optional[str] = ..., extra: _Optional[str] = ...) -> None: ...
|
|
108
|
+
|
|
84
109
|
class WorkerRegisterRequest(_message.Message):
|
|
85
|
-
__slots__ = ("workerName", "actions", "services", "maxRuns", "labels", "webhookId")
|
|
110
|
+
__slots__ = ("workerName", "actions", "services", "maxRuns", "labels", "webhookId", "runtimeInfo")
|
|
86
111
|
class LabelsEntry(_message.Message):
|
|
87
112
|
__slots__ = ("key", "value")
|
|
88
113
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -96,13 +121,15 @@ class WorkerRegisterRequest(_message.Message):
|
|
|
96
121
|
MAXRUNS_FIELD_NUMBER: _ClassVar[int]
|
|
97
122
|
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
98
123
|
WEBHOOKID_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
RUNTIMEINFO_FIELD_NUMBER: _ClassVar[int]
|
|
99
125
|
workerName: str
|
|
100
126
|
actions: _containers.RepeatedScalarFieldContainer[str]
|
|
101
127
|
services: _containers.RepeatedScalarFieldContainer[str]
|
|
102
128
|
maxRuns: int
|
|
103
129
|
labels: _containers.MessageMap[str, WorkerLabels]
|
|
104
130
|
webhookId: str
|
|
105
|
-
|
|
131
|
+
runtimeInfo: RuntimeInfo
|
|
132
|
+
def __init__(self, workerName: _Optional[str] = ..., actions: _Optional[_Iterable[str]] = ..., services: _Optional[_Iterable[str]] = ..., maxRuns: _Optional[int] = ..., labels: _Optional[_Mapping[str, WorkerLabels]] = ..., webhookId: _Optional[str] = ..., runtimeInfo: _Optional[_Union[RuntimeInfo, _Mapping]] = ...) -> None: ...
|
|
106
133
|
|
|
107
134
|
class WorkerRegisterResponse(_message.Message):
|
|
108
135
|
__slots__ = ("tenantId", "workerId", "workerName")
|
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fworkflows.proto\x1a\x1fgoogle/protobuf/timestamp.proto\">\n\x12PutWorkflowRequest\x12(\n\x04opts\x18\x01 \x01(\x0b\x32\x1a.CreateWorkflowVersionOpts\"\xbf\x04\n\x19\x43reateWorkflowVersionOpts\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x16\n\x0e\x65vent_triggers\x18\x04 \x03(\t\x12\x15\n\rcron_triggers\x18\x05 \x03(\t\x12\x36\n\x12scheduled_triggers\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12$\n\x04jobs\x18\x07 \x03(\x0b\x32\x16.CreateWorkflowJobOpts\x12-\n\x0b\x63oncurrency\x18\x08 \x01(\x0b\x32\x18.WorkflowConcurrencyOpts\x12\x1d\n\x10schedule_timeout\x18\t \x01(\tH\x00\x88\x01\x01\x12\x17\n\ncron_input\x18\n \x01(\tH\x01\x88\x01\x01\x12\x33\n\x0eon_failure_job\x18\x0b \x01(\x0b\x32\x16.CreateWorkflowJobOptsH\x02\x88\x01\x01\x12$\n\x06sticky\x18\x0c \x01(\x0e\x32\x0f.StickyStrategyH\x03\x88\x01\x01\x12 \n\x04kind\x18\r \x01(\x0e\x32\r.WorkflowKindH\x04\x88\x01\x01\x12\x1d\n\x10\x64\x65\x66\x61ult_priority\x18\x0e \x01(\x05H\x05\x88\x01\x01\x42\x13\n\x11_schedule_timeoutB\r\n\x0b_cron_inputB\x11\n\x0f_on_failure_jobB\t\n\x07_stickyB\x07\n\x05_kindB\x13\n\x11_default_priority\"\xd0\x01\n\x17WorkflowConcurrencyOpts\x12\x13\n\x06\x61\x63tion\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08max_runs\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x36\n\x0elimit_strategy\x18\x03 \x01(\x0e\x32\x19.ConcurrencyLimitStrategyH\x02\x88\x01\x01\x12\x17\n\nexpression\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_actionB\x0b\n\t_max_runsB\x11\n\x0f_limit_strategyB\r\n\x0b_expression\"h\n\x15\x43reateWorkflowJobOpts\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12&\n\x05steps\x18\x04 \x03(\x0b\x32\x17.CreateWorkflowStepOptsJ\x04\x08\x03\x10\x04\"\xe1\x01\n\x13\x44\x65siredWorkerLabels\x12\x15\n\x08strValue\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08intValue\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x15\n\x08required\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12/\n\ncomparator\x18\x04 \x01(\x0e\x32\x16.WorkerLabelComparatorH\x03\x88\x01\x01\x12\x13\n\x06weight\x18\x05 \x01(\x05H\x04\x88\x01\x01\x42\x0b\n\t_strValueB\x0b\n\t_intValueB\x0b\n\t_requiredB\r\n\x0b_comparatorB\t\n\x07_weight\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fworkflows.proto\x1a\x1fgoogle/protobuf/timestamp.proto\">\n\x12PutWorkflowRequest\x12(\n\x04opts\x18\x01 \x01(\x0b\x32\x1a.CreateWorkflowVersionOpts\"\xbf\x04\n\x19\x43reateWorkflowVersionOpts\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x16\n\x0e\x65vent_triggers\x18\x04 \x03(\t\x12\x15\n\rcron_triggers\x18\x05 \x03(\t\x12\x36\n\x12scheduled_triggers\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12$\n\x04jobs\x18\x07 \x03(\x0b\x32\x16.CreateWorkflowJobOpts\x12-\n\x0b\x63oncurrency\x18\x08 \x01(\x0b\x32\x18.WorkflowConcurrencyOpts\x12\x1d\n\x10schedule_timeout\x18\t \x01(\tH\x00\x88\x01\x01\x12\x17\n\ncron_input\x18\n \x01(\tH\x01\x88\x01\x01\x12\x33\n\x0eon_failure_job\x18\x0b \x01(\x0b\x32\x16.CreateWorkflowJobOptsH\x02\x88\x01\x01\x12$\n\x06sticky\x18\x0c \x01(\x0e\x32\x0f.StickyStrategyH\x03\x88\x01\x01\x12 \n\x04kind\x18\r \x01(\x0e\x32\r.WorkflowKindH\x04\x88\x01\x01\x12\x1d\n\x10\x64\x65\x66\x61ult_priority\x18\x0e \x01(\x05H\x05\x88\x01\x01\x42\x13\n\x11_schedule_timeoutB\r\n\x0b_cron_inputB\x11\n\x0f_on_failure_jobB\t\n\x07_stickyB\x07\n\x05_kindB\x13\n\x11_default_priority\"\xd0\x01\n\x17WorkflowConcurrencyOpts\x12\x13\n\x06\x61\x63tion\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08max_runs\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x36\n\x0elimit_strategy\x18\x03 \x01(\x0e\x32\x19.ConcurrencyLimitStrategyH\x02\x88\x01\x01\x12\x17\n\nexpression\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_actionB\x0b\n\t_max_runsB\x11\n\x0f_limit_strategyB\r\n\x0b_expression\"h\n\x15\x43reateWorkflowJobOpts\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12&\n\x05steps\x18\x04 \x03(\x0b\x32\x17.CreateWorkflowStepOptsJ\x04\x08\x03\x10\x04\"\xe1\x01\n\x13\x44\x65siredWorkerLabels\x12\x15\n\x08strValue\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08intValue\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x15\n\x08required\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12/\n\ncomparator\x18\x04 \x01(\x0e\x32\x16.WorkerLabelComparatorH\x03\x88\x01\x01\x12\x13\n\x06weight\x18\x05 \x01(\x05H\x04\x88\x01\x01\x42\x0b\n\t_strValueB\x0b\n\t_intValueB\x0b\n\t_requiredB\r\n\x0b_comparatorB\t\n\x07_weight\"\xb5\x03\n\x16\x43reateWorkflowStepOpts\x12\x13\n\x0breadable_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\x12\x0f\n\x07timeout\x18\x03 \x01(\t\x12\x0e\n\x06inputs\x18\x04 \x01(\t\x12\x0f\n\x07parents\x18\x05 \x03(\t\x12\x11\n\tuser_data\x18\x06 \x01(\t\x12\x0f\n\x07retries\x18\x07 \x01(\x05\x12)\n\x0brate_limits\x18\x08 \x03(\x0b\x32\x14.CreateStepRateLimit\x12@\n\rworker_labels\x18\t \x03(\x0b\x32).CreateWorkflowStepOpts.WorkerLabelsEntry\x12\x1b\n\x0e\x62\x61\x63koff_factor\x18\n \x01(\x02H\x00\x88\x01\x01\x12 \n\x13\x62\x61\x63koff_max_seconds\x18\x0b \x01(\x05H\x01\x88\x01\x01\x1aI\n\x11WorkerLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.DesiredWorkerLabels:\x02\x38\x01\x42\x11\n\x0f_backoff_factorB\x16\n\x14_backoff_max_seconds\"\xfa\x01\n\x13\x43reateStepRateLimit\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\x05units\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\x15\n\x08key_expr\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x17\n\nunits_expr\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1e\n\x11limit_values_expr\x18\x05 \x01(\tH\x03\x88\x01\x01\x12)\n\x08\x64uration\x18\x06 \x01(\x0e\x32\x12.RateLimitDurationH\x04\x88\x01\x01\x42\x08\n\x06_unitsB\x0b\n\t_key_exprB\r\n\x0b_units_exprB\x14\n\x12_limit_values_exprB\x0b\n\t_duration\"\x16\n\x14ListWorkflowsRequest\"\xcd\x02\n\x17ScheduleWorkflowRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12-\n\tschedules\x18\x02 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05input\x18\x03 \x01(\t\x12\x16\n\tparent_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x1f\n\x12parent_step_run_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x63hild_index\x18\x06 \x01(\x05H\x02\x88\x01\x01\x12\x16\n\tchild_key\x18\x07 \x01(\tH\x03\x88\x01\x01\x12 \n\x13\x61\x64\x64itional_metadata\x18\x08 \x01(\tH\x04\x88\x01\x01\x42\x0c\n\n_parent_idB\x15\n\x13_parent_step_run_idB\x0e\n\x0c_child_indexB\x0c\n\n_child_keyB\x16\n\x14_additional_metadata\"O\n\x11ScheduledWorkflow\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\ntrigger_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe3\x01\n\x0fWorkflowVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\r\n\x05order\x18\x06 \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x07 \x01(\t\x12/\n\x13scheduled_workflows\x18\x08 \x03(\x0b\x32\x12.ScheduledWorkflow\"?\n\x17WorkflowTriggerEventRef\x12\x11\n\tparent_id\x18\x01 \x01(\t\x12\x11\n\tevent_key\x18\x02 \x01(\t\"9\n\x16WorkflowTriggerCronRef\x12\x11\n\tparent_id\x18\x01 \x01(\t\x12\x0c\n\x04\x63ron\x18\x02 \x01(\t\"H\n\x1a\x42ulkTriggerWorkflowRequest\x12*\n\tworkflows\x18\x01 \x03(\x0b\x32\x17.TriggerWorkflowRequest\"7\n\x1b\x42ulkTriggerWorkflowResponse\x12\x18\n\x10workflow_run_ids\x18\x01 \x03(\t\"\xf7\x02\n\x16TriggerWorkflowRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05input\x18\x02 \x01(\t\x12\x16\n\tparent_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1f\n\x12parent_step_run_id\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x63hild_index\x18\x05 \x01(\x05H\x02\x88\x01\x01\x12\x16\n\tchild_key\x18\x06 \x01(\tH\x03\x88\x01\x01\x12 \n\x13\x61\x64\x64itional_metadata\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x1e\n\x11\x64\x65sired_worker_id\x18\x08 \x01(\tH\x05\x88\x01\x01\x12\x15\n\x08priority\x18\t \x01(\x05H\x06\x88\x01\x01\x42\x0c\n\n_parent_idB\x15\n\x13_parent_step_run_idB\x0e\n\x0c_child_indexB\x0c\n\n_child_keyB\x16\n\x14_additional_metadataB\x14\n\x12_desired_worker_idB\x0b\n\t_priority\"2\n\x17TriggerWorkflowResponse\x12\x17\n\x0fworkflow_run_id\x18\x01 \x01(\t\"W\n\x13PutRateLimitRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05\x12$\n\x08\x64uration\x18\x03 \x01(\x0e\x32\x12.RateLimitDuration\"\x16\n\x14PutRateLimitResponse*$\n\x0eStickyStrategy\x12\x08\n\x04SOFT\x10\x00\x12\x08\n\x04HARD\x10\x01*2\n\x0cWorkflowKind\x12\x0c\n\x08\x46UNCTION\x10\x00\x12\x0b\n\x07\x44URABLE\x10\x01\x12\x07\n\x03\x44\x41G\x10\x02*l\n\x18\x43oncurrencyLimitStrategy\x12\x16\n\x12\x43\x41NCEL_IN_PROGRESS\x10\x00\x12\x0f\n\x0b\x44ROP_NEWEST\x10\x01\x12\x10\n\x0cQUEUE_NEWEST\x10\x02\x12\x15\n\x11GROUP_ROUND_ROBIN\x10\x03*\x85\x01\n\x15WorkerLabelComparator\x12\t\n\x05\x45QUAL\x10\x00\x12\r\n\tNOT_EQUAL\x10\x01\x12\x10\n\x0cGREATER_THAN\x10\x02\x12\x19\n\x15GREATER_THAN_OR_EQUAL\x10\x03\x12\r\n\tLESS_THAN\x10\x04\x12\x16\n\x12LESS_THAN_OR_EQUAL\x10\x05*]\n\x11RateLimitDuration\x12\n\n\x06SECOND\x10\x00\x12\n\n\x06MINUTE\x10\x01\x12\x08\n\x04HOUR\x10\x02\x12\x07\n\x03\x44\x41Y\x10\x03\x12\x08\n\x04WEEK\x10\x04\x12\t\n\x05MONTH\x10\x05\x12\x08\n\x04YEAR\x10\x06\x32\xdc\x02\n\x0fWorkflowService\x12\x34\n\x0bPutWorkflow\x12\x13.PutWorkflowRequest\x1a\x10.WorkflowVersion\x12>\n\x10ScheduleWorkflow\x12\x18.ScheduleWorkflowRequest\x1a\x10.WorkflowVersion\x12\x44\n\x0fTriggerWorkflow\x12\x17.TriggerWorkflowRequest\x1a\x18.TriggerWorkflowResponse\x12P\n\x13\x42ulkTriggerWorkflow\x12\x1b.BulkTriggerWorkflowRequest\x1a\x1c.BulkTriggerWorkflowResponse\x12;\n\x0cPutRateLimit\x12\x14.PutRateLimitRequest\x1a\x15.PutRateLimitResponseBBZ@github.com/hatchet-dev/hatchet/internal/services/admin/contractsb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -25,16 +25,16 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
25
25
|
_globals['DESCRIPTOR']._serialized_options = b'Z@github.com/hatchet-dev/hatchet/internal/services/admin/contracts'
|
|
26
26
|
_globals['_CREATEWORKFLOWSTEPOPTS_WORKERLABELSENTRY']._options = None
|
|
27
27
|
_globals['_CREATEWORKFLOWSTEPOPTS_WORKERLABELSENTRY']._serialized_options = b'8\001'
|
|
28
|
-
_globals['_STICKYSTRATEGY']._serialized_start=
|
|
29
|
-
_globals['_STICKYSTRATEGY']._serialized_end=
|
|
30
|
-
_globals['_WORKFLOWKIND']._serialized_start=
|
|
31
|
-
_globals['_WORKFLOWKIND']._serialized_end=
|
|
32
|
-
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_start=
|
|
33
|
-
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_end=
|
|
34
|
-
_globals['_WORKERLABELCOMPARATOR']._serialized_start=
|
|
35
|
-
_globals['_WORKERLABELCOMPARATOR']._serialized_end=
|
|
36
|
-
_globals['_RATELIMITDURATION']._serialized_start=
|
|
37
|
-
_globals['_RATELIMITDURATION']._serialized_end=
|
|
28
|
+
_globals['_STICKYSTRATEGY']._serialized_start=3401
|
|
29
|
+
_globals['_STICKYSTRATEGY']._serialized_end=3437
|
|
30
|
+
_globals['_WORKFLOWKIND']._serialized_start=3439
|
|
31
|
+
_globals['_WORKFLOWKIND']._serialized_end=3489
|
|
32
|
+
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_start=3491
|
|
33
|
+
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_end=3599
|
|
34
|
+
_globals['_WORKERLABELCOMPARATOR']._serialized_start=3602
|
|
35
|
+
_globals['_WORKERLABELCOMPARATOR']._serialized_end=3735
|
|
36
|
+
_globals['_RATELIMITDURATION']._serialized_start=3737
|
|
37
|
+
_globals['_RATELIMITDURATION']._serialized_end=3830
|
|
38
38
|
_globals['_PUTWORKFLOWREQUEST']._serialized_start=52
|
|
39
39
|
_globals['_PUTWORKFLOWREQUEST']._serialized_end=114
|
|
40
40
|
_globals['_CREATEWORKFLOWVERSIONOPTS']._serialized_start=117
|
|
@@ -46,33 +46,35 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
46
46
|
_globals['_DESIREDWORKERLABELS']._serialized_start=1012
|
|
47
47
|
_globals['_DESIREDWORKERLABELS']._serialized_end=1237
|
|
48
48
|
_globals['_CREATEWORKFLOWSTEPOPTS']._serialized_start=1240
|
|
49
|
-
_globals['_CREATEWORKFLOWSTEPOPTS']._serialized_end=
|
|
50
|
-
_globals['_CREATEWORKFLOWSTEPOPTS_WORKERLABELSENTRY']._serialized_start=
|
|
51
|
-
_globals['_CREATEWORKFLOWSTEPOPTS_WORKERLABELSENTRY']._serialized_end=
|
|
52
|
-
_globals['_CREATESTEPRATELIMIT']._serialized_start=
|
|
53
|
-
_globals['_CREATESTEPRATELIMIT']._serialized_end=
|
|
54
|
-
_globals['_LISTWORKFLOWSREQUEST']._serialized_start=
|
|
55
|
-
_globals['_LISTWORKFLOWSREQUEST']._serialized_end=
|
|
56
|
-
_globals['_SCHEDULEWORKFLOWREQUEST']._serialized_start=
|
|
57
|
-
_globals['_SCHEDULEWORKFLOWREQUEST']._serialized_end=
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
49
|
+
_globals['_CREATEWORKFLOWSTEPOPTS']._serialized_end=1677
|
|
50
|
+
_globals['_CREATEWORKFLOWSTEPOPTS_WORKERLABELSENTRY']._serialized_start=1561
|
|
51
|
+
_globals['_CREATEWORKFLOWSTEPOPTS_WORKERLABELSENTRY']._serialized_end=1634
|
|
52
|
+
_globals['_CREATESTEPRATELIMIT']._serialized_start=1680
|
|
53
|
+
_globals['_CREATESTEPRATELIMIT']._serialized_end=1930
|
|
54
|
+
_globals['_LISTWORKFLOWSREQUEST']._serialized_start=1932
|
|
55
|
+
_globals['_LISTWORKFLOWSREQUEST']._serialized_end=1954
|
|
56
|
+
_globals['_SCHEDULEWORKFLOWREQUEST']._serialized_start=1957
|
|
57
|
+
_globals['_SCHEDULEWORKFLOWREQUEST']._serialized_end=2290
|
|
58
|
+
_globals['_SCHEDULEDWORKFLOW']._serialized_start=2292
|
|
59
|
+
_globals['_SCHEDULEDWORKFLOW']._serialized_end=2371
|
|
60
|
+
_globals['_WORKFLOWVERSION']._serialized_start=2374
|
|
61
|
+
_globals['_WORKFLOWVERSION']._serialized_end=2601
|
|
62
|
+
_globals['_WORKFLOWTRIGGEREVENTREF']._serialized_start=2603
|
|
63
|
+
_globals['_WORKFLOWTRIGGEREVENTREF']._serialized_end=2666
|
|
64
|
+
_globals['_WORKFLOWTRIGGERCRONREF']._serialized_start=2668
|
|
65
|
+
_globals['_WORKFLOWTRIGGERCRONREF']._serialized_end=2725
|
|
66
|
+
_globals['_BULKTRIGGERWORKFLOWREQUEST']._serialized_start=2727
|
|
67
|
+
_globals['_BULKTRIGGERWORKFLOWREQUEST']._serialized_end=2799
|
|
68
|
+
_globals['_BULKTRIGGERWORKFLOWRESPONSE']._serialized_start=2801
|
|
69
|
+
_globals['_BULKTRIGGERWORKFLOWRESPONSE']._serialized_end=2856
|
|
70
|
+
_globals['_TRIGGERWORKFLOWREQUEST']._serialized_start=2859
|
|
71
|
+
_globals['_TRIGGERWORKFLOWREQUEST']._serialized_end=3234
|
|
72
|
+
_globals['_TRIGGERWORKFLOWRESPONSE']._serialized_start=3236
|
|
73
|
+
_globals['_TRIGGERWORKFLOWRESPONSE']._serialized_end=3286
|
|
74
|
+
_globals['_PUTRATELIMITREQUEST']._serialized_start=3288
|
|
75
|
+
_globals['_PUTRATELIMITREQUEST']._serialized_end=3375
|
|
76
|
+
_globals['_PUTRATELIMITRESPONSE']._serialized_start=3377
|
|
77
|
+
_globals['_PUTRATELIMITRESPONSE']._serialized_end=3399
|
|
78
|
+
_globals['_WORKFLOWSERVICE']._serialized_start=3833
|
|
79
|
+
_globals['_WORKFLOWSERVICE']._serialized_end=4181
|
|
78
80
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -143,7 +143,7 @@ class DesiredWorkerLabels(_message.Message):
|
|
|
143
143
|
def __init__(self, strValue: _Optional[str] = ..., intValue: _Optional[int] = ..., required: bool = ..., comparator: _Optional[_Union[WorkerLabelComparator, str]] = ..., weight: _Optional[int] = ...) -> None: ...
|
|
144
144
|
|
|
145
145
|
class CreateWorkflowStepOpts(_message.Message):
|
|
146
|
-
__slots__ = ("readable_id", "action", "timeout", "inputs", "parents", "user_data", "retries", "rate_limits", "worker_labels")
|
|
146
|
+
__slots__ = ("readable_id", "action", "timeout", "inputs", "parents", "user_data", "retries", "rate_limits", "worker_labels", "backoff_factor", "backoff_max_seconds")
|
|
147
147
|
class WorkerLabelsEntry(_message.Message):
|
|
148
148
|
__slots__ = ("key", "value")
|
|
149
149
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -160,6 +160,8 @@ class CreateWorkflowStepOpts(_message.Message):
|
|
|
160
160
|
RETRIES_FIELD_NUMBER: _ClassVar[int]
|
|
161
161
|
RATE_LIMITS_FIELD_NUMBER: _ClassVar[int]
|
|
162
162
|
WORKER_LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
163
|
+
BACKOFF_FACTOR_FIELD_NUMBER: _ClassVar[int]
|
|
164
|
+
BACKOFF_MAX_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
163
165
|
readable_id: str
|
|
164
166
|
action: str
|
|
165
167
|
timeout: str
|
|
@@ -169,7 +171,9 @@ class CreateWorkflowStepOpts(_message.Message):
|
|
|
169
171
|
retries: int
|
|
170
172
|
rate_limits: _containers.RepeatedCompositeFieldContainer[CreateStepRateLimit]
|
|
171
173
|
worker_labels: _containers.MessageMap[str, DesiredWorkerLabels]
|
|
172
|
-
|
|
174
|
+
backoff_factor: float
|
|
175
|
+
backoff_max_seconds: int
|
|
176
|
+
def __init__(self, readable_id: _Optional[str] = ..., action: _Optional[str] = ..., timeout: _Optional[str] = ..., inputs: _Optional[str] = ..., parents: _Optional[_Iterable[str]] = ..., user_data: _Optional[str] = ..., retries: _Optional[int] = ..., rate_limits: _Optional[_Iterable[_Union[CreateStepRateLimit, _Mapping]]] = ..., worker_labels: _Optional[_Mapping[str, DesiredWorkerLabels]] = ..., backoff_factor: _Optional[float] = ..., backoff_max_seconds: _Optional[int] = ...) -> None: ...
|
|
173
177
|
|
|
174
178
|
class CreateStepRateLimit(_message.Message):
|
|
175
179
|
__slots__ = ("key", "units", "key_expr", "units_expr", "limit_values_expr", "duration")
|
|
@@ -192,7 +196,7 @@ class ListWorkflowsRequest(_message.Message):
|
|
|
192
196
|
def __init__(self) -> None: ...
|
|
193
197
|
|
|
194
198
|
class ScheduleWorkflowRequest(_message.Message):
|
|
195
|
-
__slots__ = ("name", "schedules", "input", "parent_id", "parent_step_run_id", "child_index", "child_key")
|
|
199
|
+
__slots__ = ("name", "schedules", "input", "parent_id", "parent_step_run_id", "child_index", "child_key", "additional_metadata")
|
|
196
200
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
197
201
|
SCHEDULES_FIELD_NUMBER: _ClassVar[int]
|
|
198
202
|
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -200,6 +204,7 @@ class ScheduleWorkflowRequest(_message.Message):
|
|
|
200
204
|
PARENT_STEP_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
201
205
|
CHILD_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
202
206
|
CHILD_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
207
|
+
ADDITIONAL_METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
203
208
|
name: str
|
|
204
209
|
schedules: _containers.RepeatedCompositeFieldContainer[_timestamp_pb2.Timestamp]
|
|
205
210
|
input: str
|
|
@@ -207,23 +212,34 @@ class ScheduleWorkflowRequest(_message.Message):
|
|
|
207
212
|
parent_step_run_id: str
|
|
208
213
|
child_index: int
|
|
209
214
|
child_key: str
|
|
210
|
-
|
|
215
|
+
additional_metadata: str
|
|
216
|
+
def __init__(self, name: _Optional[str] = ..., schedules: _Optional[_Iterable[_Union[_timestamp_pb2.Timestamp, _Mapping]]] = ..., input: _Optional[str] = ..., parent_id: _Optional[str] = ..., parent_step_run_id: _Optional[str] = ..., child_index: _Optional[int] = ..., child_key: _Optional[str] = ..., additional_metadata: _Optional[str] = ...) -> None: ...
|
|
217
|
+
|
|
218
|
+
class ScheduledWorkflow(_message.Message):
|
|
219
|
+
__slots__ = ("id", "trigger_at")
|
|
220
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
221
|
+
TRIGGER_AT_FIELD_NUMBER: _ClassVar[int]
|
|
222
|
+
id: str
|
|
223
|
+
trigger_at: _timestamp_pb2.Timestamp
|
|
224
|
+
def __init__(self, id: _Optional[str] = ..., trigger_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
211
225
|
|
|
212
226
|
class WorkflowVersion(_message.Message):
|
|
213
|
-
__slots__ = ("id", "created_at", "updated_at", "version", "order", "workflow_id")
|
|
227
|
+
__slots__ = ("id", "created_at", "updated_at", "version", "order", "workflow_id", "scheduled_workflows")
|
|
214
228
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
215
229
|
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
216
230
|
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
217
231
|
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
218
232
|
ORDER_FIELD_NUMBER: _ClassVar[int]
|
|
219
233
|
WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
234
|
+
SCHEDULED_WORKFLOWS_FIELD_NUMBER: _ClassVar[int]
|
|
220
235
|
id: str
|
|
221
236
|
created_at: _timestamp_pb2.Timestamp
|
|
222
237
|
updated_at: _timestamp_pb2.Timestamp
|
|
223
238
|
version: str
|
|
224
239
|
order: int
|
|
225
240
|
workflow_id: str
|
|
226
|
-
|
|
241
|
+
scheduled_workflows: _containers.RepeatedCompositeFieldContainer[ScheduledWorkflow]
|
|
242
|
+
def __init__(self, id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., version: _Optional[str] = ..., order: _Optional[int] = ..., workflow_id: _Optional[str] = ..., scheduled_workflows: _Optional[_Iterable[_Union[ScheduledWorkflow, _Mapping]]] = ...) -> None: ...
|
|
227
243
|
|
|
228
244
|
class WorkflowTriggerEventRef(_message.Message):
|
|
229
245
|
__slots__ = ("parent_id", "event_key")
|
hatchet_sdk/hatchet.py
CHANGED
|
@@ -74,6 +74,8 @@ def step(
|
|
|
74
74
|
retries: int = 0,
|
|
75
75
|
rate_limits: list[RateLimit] | None = None,
|
|
76
76
|
desired_worker_labels: dict[str, DesiredWorkerLabel] = {},
|
|
77
|
+
backoff_factor: float | None = None,
|
|
78
|
+
backoff_max_seconds: int | None = None,
|
|
77
79
|
) -> Callable[[Callable[P, R]], Callable[P, R]]:
|
|
78
80
|
parents = parents or []
|
|
79
81
|
|
|
@@ -91,6 +93,8 @@ def step(
|
|
|
91
93
|
func._step_timeout = timeout # type: ignore[attr-defined]
|
|
92
94
|
func._step_retries = retries # type: ignore[attr-defined]
|
|
93
95
|
func._step_rate_limits = limits # type: ignore[attr-defined]
|
|
96
|
+
func._step_backoff_factor = backoff_factor # type: ignore[attr-defined]
|
|
97
|
+
func._step_backoff_max_seconds = backoff_max_seconds # type: ignore[attr-defined]
|
|
94
98
|
|
|
95
99
|
func._step_desired_worker_labels = {} # type: ignore[attr-defined]
|
|
96
100
|
|
|
@@ -114,6 +118,8 @@ def on_failure_step(
|
|
|
114
118
|
timeout: str = "",
|
|
115
119
|
retries: int = 0,
|
|
116
120
|
rate_limits: list[RateLimit] | None = None,
|
|
121
|
+
backoff_factor: float | None = None,
|
|
122
|
+
backoff_max_seconds: int | None = None,
|
|
117
123
|
) -> Callable[[Callable[P, R]], Callable[P, R]]:
|
|
118
124
|
def inner(func: Callable[P, R]) -> Callable[P, R]:
|
|
119
125
|
limits = None
|
|
@@ -128,6 +134,9 @@ def on_failure_step(
|
|
|
128
134
|
func._on_failure_step_timeout = timeout # type: ignore[attr-defined]
|
|
129
135
|
func._on_failure_step_retries = retries # type: ignore[attr-defined]
|
|
130
136
|
func._on_failure_step_rate_limits = limits # type: ignore[attr-defined]
|
|
137
|
+
func._on_failure_step_backoff_factor = backoff_factor # type: ignore[attr-defined]
|
|
138
|
+
func._on_failure_step_backoff_max_seconds = backoff_max_seconds # type: ignore[attr-defined]
|
|
139
|
+
|
|
131
140
|
return func
|
|
132
141
|
|
|
133
142
|
return inner
|
hatchet_sdk/workflow.py
CHANGED
|
@@ -113,6 +113,8 @@ class WorkflowMeta(type):
|
|
|
113
113
|
retries=func._step_retries,
|
|
114
114
|
rate_limits=func._step_rate_limits,
|
|
115
115
|
worker_labels=func._step_desired_worker_labels,
|
|
116
|
+
backoff_factor=func._step_backoff_factor,
|
|
117
|
+
backoff_max_seconds=func._step_backoff_max_seconds,
|
|
116
118
|
)
|
|
117
119
|
for step_name, func in steps
|
|
118
120
|
]
|
|
@@ -155,6 +157,8 @@ class WorkflowMeta(type):
|
|
|
155
157
|
parents=[],
|
|
156
158
|
retries=func._on_failure_step_retries,
|
|
157
159
|
rate_limits=func._on_failure_step_rate_limits,
|
|
160
|
+
backoff_factor=func._on_failure_step_backoff_factor,
|
|
161
|
+
backoff_max_seconds=func._on_failure_step_backoff_max_seconds,
|
|
158
162
|
)
|
|
159
163
|
],
|
|
160
164
|
)
|
|
@@ -187,18 +187,18 @@ hatchet_sdk/connection.py,sha256=593aUGAj7Ouf00lcVwx_pmhdQ9NOC5ANT1Jrf8nwkHs,216
|
|
|
187
187
|
hatchet_sdk/context/__init__.py,sha256=Pl_seJ_SJpW34BBZp4KixuZ8GiRK9sJFfegf9u3m7zk,29
|
|
188
188
|
hatchet_sdk/context/context.py,sha256=nZxq3lKTCdE7C01-60Wp1Hvcs3nj-NH85JXQovuncFk,11873
|
|
189
189
|
hatchet_sdk/context/worker_context.py,sha256=ABpRevkXWCz313wUU0O1DfwOiTEG9b-mvqJfifTyGVA,913
|
|
190
|
-
hatchet_sdk/contracts/dispatcher_pb2.py,sha256=
|
|
191
|
-
hatchet_sdk/contracts/dispatcher_pb2.pyi,sha256=
|
|
190
|
+
hatchet_sdk/contracts/dispatcher_pb2.py,sha256=W9_Us2_HIdUV5idN2rPwzt4J06JfDeogxwDVvjerk_U,14320
|
|
191
|
+
hatchet_sdk/contracts/dispatcher_pb2.pyi,sha256=6cRfHDhiLElKifrAtdiLFY8QF2_x1KkPBPplG49Ml3I,18240
|
|
192
192
|
hatchet_sdk/contracts/dispatcher_pb2_grpc.py,sha256=4uJkNig8nssJwS7P-lea1YqE4wl0cVWQaJpOndOdaDs,21453
|
|
193
193
|
hatchet_sdk/contracts/events_pb2.py,sha256=w_DmfXMfxlAyHWcuv_hPt7ouABAMmOEjGKVOHjYJc-4,4073
|
|
194
194
|
hatchet_sdk/contracts/events_pb2.pyi,sha256=ekw9YVS2vJdk0BLLqf7_Atg8qCN5xIq7EnIP4Vhg_4g,4030
|
|
195
195
|
hatchet_sdk/contracts/events_pb2_grpc.py,sha256=q5Vfu2KXS3JzP7XdHEpleAlYxgyBqIxq5WpRoz-XlH8,8327
|
|
196
|
-
hatchet_sdk/contracts/workflows_pb2.py,sha256=
|
|
197
|
-
hatchet_sdk/contracts/workflows_pb2.pyi,sha256=
|
|
196
|
+
hatchet_sdk/contracts/workflows_pb2.py,sha256=oHpiARGasVy8MWkYQszalEEvN4wAvzVecDmOUmlO9hs,11694
|
|
197
|
+
hatchet_sdk/contracts/workflows_pb2.pyi,sha256=JS-kP0IL7dtU3HUhJ4PCpAgF3ZLdZ6NbXvvkD43KwVA,15355
|
|
198
198
|
hatchet_sdk/contracts/workflows_pb2_grpc.py,sha256=rOC2yF2VqxyGsxHnr1XbKFFh8-eLGic2SXgfS1gU3xM,8864
|
|
199
199
|
hatchet_sdk/features/cron.py,sha256=4lKMH0MqiN8cHJk2jhF0Ueqs6z5ozwJzlOeSeaWqvO0,10217
|
|
200
200
|
hatchet_sdk/features/scheduled.py,sha256=YhEbNWl8dWOH61rXVjAyu8iG1BZqpSkD4kgaxkKIHgY,9504
|
|
201
|
-
hatchet_sdk/hatchet.py,sha256=
|
|
201
|
+
hatchet_sdk/hatchet.py,sha256=a6MM6PvJYfJLBwQDrJ8dpHl8bq0ar1cVAaitpgfPmxo,10107
|
|
202
202
|
hatchet_sdk/labels.py,sha256=OuOtOHeZAd1aYi3j_EhgzIGo1_1wDlYokV74xHSuf8Y,259
|
|
203
203
|
hatchet_sdk/loader.py,sha256=dGs6Tt8wdEgHeCBesbbQsP6ZYiARBvoqwIdXIO1P5Os,7913
|
|
204
204
|
hatchet_sdk/logger.py,sha256=5uOr52T4mImSQm1QvWT8HvZFK5WfPNh3Y1cBQZRFgUQ,333
|
|
@@ -220,9 +220,9 @@ hatchet_sdk/worker/runner/runner.py,sha256=srtCZ6W9VIS65nHdLRyf4tbVlIS_QQbH3AwiP
|
|
|
220
220
|
hatchet_sdk/worker/runner/utils/capture_logs.py,sha256=s_BGxeykelVbusx6u31EPx3vv9c2BHkuBnYcaLW680E,2381
|
|
221
221
|
hatchet_sdk/worker/runner/utils/error_with_traceback.py,sha256=Iih_s8JNqrinXETFJ3ZS88EhaTekfM6m5fqIP7QWoIM,181
|
|
222
222
|
hatchet_sdk/worker/worker.py,sha256=YUkShUFcAVzr9QUeanIaMnNS9mVJTRyoF8vODwzNOjs,10373
|
|
223
|
-
hatchet_sdk/workflow.py,sha256=
|
|
223
|
+
hatchet_sdk/workflow.py,sha256=z-cy5KUSAFE9WRcWkL5wmMKR29CRiTdUksoTNrXhRos,7642
|
|
224
224
|
hatchet_sdk/workflow_run.py,sha256=BwK5cefvXXvyQ1Ednj_7LeejMwQJqWnvUC_FTBmJNxk,1805
|
|
225
|
-
hatchet_sdk-0.
|
|
226
|
-
hatchet_sdk-0.
|
|
227
|
-
hatchet_sdk-0.
|
|
228
|
-
hatchet_sdk-0.
|
|
225
|
+
hatchet_sdk-0.42.0.dist-info/METADATA,sha256=S6Onzm-FQePM5-kX42qOx1Sbwu2Wuw0FhKGh_4QDKy8,1471
|
|
226
|
+
hatchet_sdk-0.42.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
227
|
+
hatchet_sdk-0.42.0.dist-info/entry_points.txt,sha256=7vXihcwAx3daVQ42wUREOoJzhbA2aUU-lQa5I2eztDA,891
|
|
228
|
+
hatchet_sdk-0.42.0.dist-info/RECORD,,
|
|
@@ -16,6 +16,7 @@ manual_trigger=examples.manual_trigger.worker:main
|
|
|
16
16
|
on_failure=examples.on_failure.worker:main
|
|
17
17
|
programatic_replay=examples.programatic_replay.worker:main
|
|
18
18
|
rate_limit=examples.rate_limit.worker:main
|
|
19
|
+
retries_with_backoff=examples.retries_with_backoff.worker:main
|
|
19
20
|
simple=examples.simple.worker:main
|
|
20
21
|
timeout=examples.timeout.worker:main
|
|
21
22
|
|
|
File without changes
|