hatchet-sdk 1.13.0__py3-none-any.whl → 1.14.1__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/__init__.py +16 -8
- hatchet_sdk/clients/listeners/durable_event_listener.py +2 -2
- hatchet_sdk/clients/rest/models/semaphore_slots.py +1 -1
- hatchet_sdk/clients/rest/models/v1_task_summary.py +5 -0
- hatchet_sdk/clients/rest/models/v1_workflow_run_details.py +11 -1
- hatchet_sdk/clients/rest/models/workflow_version.py +5 -0
- hatchet_sdk/{waits.py → conditions.py} +15 -0
- hatchet_sdk/context/context.py +10 -3
- hatchet_sdk/exceptions.py +4 -0
- hatchet_sdk/features/filters.py +9 -18
- hatchet_sdk/runnables/task.py +12 -27
- hatchet_sdk/runnables/workflow.py +1 -1
- hatchet_sdk/v0/__init__.py +7 -7
- hatchet_sdk/v0/clients/admin.py +7 -7
- hatchet_sdk/v0/clients/dispatcher/action_listener.py +8 -8
- hatchet_sdk/v0/clients/dispatcher/dispatcher.py +9 -9
- hatchet_sdk/v0/clients/events.py +3 -3
- hatchet_sdk/v0/clients/rest/tenacity_utils.py +1 -1
- hatchet_sdk/v0/clients/run_event_listener.py +3 -3
- hatchet_sdk/v0/clients/workflow_listener.py +5 -5
- hatchet_sdk/v0/context/context.py +6 -6
- hatchet_sdk/v0/hatchet.py +4 -4
- hatchet_sdk/v0/opentelemetry/instrumentor.py +1 -1
- hatchet_sdk/v0/rate_limit.py +1 -1
- hatchet_sdk/v0/v2/callable.py +4 -4
- hatchet_sdk/v0/v2/concurrency.py +2 -2
- hatchet_sdk/v0/v2/hatchet.py +3 -3
- hatchet_sdk/v0/worker/action_listener_process.py +6 -6
- hatchet_sdk/v0/worker/runner/run_loop_manager.py +1 -1
- hatchet_sdk/v0/worker/runner/runner.py +10 -10
- hatchet_sdk/v0/worker/runner/utils/capture_logs.py +1 -1
- hatchet_sdk/v0/worker/worker.py +2 -2
- hatchet_sdk/v0/workflow.py +3 -3
- hatchet_sdk/worker/runner/runner.py +69 -17
- hatchet_sdk/worker/worker.py +1 -1
- {hatchet_sdk-1.13.0.dist-info → hatchet_sdk-1.14.1.dist-info}/METADATA +1 -1
- {hatchet_sdk-1.13.0.dist-info → hatchet_sdk-1.14.1.dist-info}/RECORD +39 -49
- hatchet_sdk/v0/contracts/dispatcher_pb2.py +0 -102
- hatchet_sdk/v0/contracts/dispatcher_pb2.pyi +0 -387
- hatchet_sdk/v0/contracts/dispatcher_pb2_grpc.py +0 -621
- hatchet_sdk/v0/contracts/events_pb2.py +0 -46
- hatchet_sdk/v0/contracts/events_pb2.pyi +0 -87
- hatchet_sdk/v0/contracts/events_pb2_grpc.py +0 -274
- hatchet_sdk/v0/contracts/workflows_pb2.py +0 -80
- hatchet_sdk/v0/contracts/workflows_pb2.pyi +0 -312
- hatchet_sdk/v0/contracts/workflows_pb2_grpc.py +0 -277
- hatchet_sdk/v0/logger.py +0 -13
- {hatchet_sdk-1.13.0.dist-info → hatchet_sdk-1.14.1.dist-info}/WHEEL +0 -0
- {hatchet_sdk-1.13.0.dist-info → hatchet_sdk-1.14.1.dist-info}/entry_points.txt +0 -0
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: dispatcher.proto
|
|
4
|
-
# Protobuf Python Version: 5.26.1
|
|
5
|
-
"""Generated protocol buffer code."""
|
|
6
|
-
from google.protobuf import descriptor as _descriptor
|
|
7
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
-
from google.protobuf.internal import builder as _builder
|
|
10
|
-
# @@protoc_insertion_point(imports)
|
|
11
|
-
|
|
12
|
-
_sym_db = _symbol_database.Default()
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
|
-
|
|
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\"\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\"\x94\x02\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\x12\x17\n\nretryCount\x18\n \x01(\x05H\x00\x88\x01\x01\x42\r\n\x0b_retryCount\"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
|
-
|
|
20
|
-
_globals = globals()
|
|
21
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dispatcher_pb2', _globals)
|
|
23
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
-
_globals['DESCRIPTOR']._loaded_options = None
|
|
25
|
-
_globals['DESCRIPTOR']._serialized_options = b'ZEgithub.com/hatchet-dev/hatchet/internal/services/dispatcher/contracts'
|
|
26
|
-
_globals['_WORKERREGISTERREQUEST_LABELSENTRY']._loaded_options = None
|
|
27
|
-
_globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
28
|
-
_globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._loaded_options = None
|
|
29
|
-
_globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
30
|
-
_globals['_SDKS']._serialized_start=3524
|
|
31
|
-
_globals['_SDKS']._serialized_end=3579
|
|
32
|
-
_globals['_ACTIONTYPE']._serialized_start=3581
|
|
33
|
-
_globals['_ACTIONTYPE']._serialized_end=3659
|
|
34
|
-
_globals['_GROUPKEYACTIONEVENTTYPE']._serialized_start=3662
|
|
35
|
-
_globals['_GROUPKEYACTIONEVENTTYPE']._serialized_end=3824
|
|
36
|
-
_globals['_STEPACTIONEVENTTYPE']._serialized_start=3827
|
|
37
|
-
_globals['_STEPACTIONEVENTTYPE']._serialized_end=3999
|
|
38
|
-
_globals['_RESOURCETYPE']._serialized_start=4001
|
|
39
|
-
_globals['_RESOURCETYPE']._serialized_end=4102
|
|
40
|
-
_globals['_RESOURCEEVENTTYPE']._serialized_start=4105
|
|
41
|
-
_globals['_RESOURCEEVENTTYPE']._serialized_end=4359
|
|
42
|
-
_globals['_WORKFLOWRUNEVENTTYPE']._serialized_start=4361
|
|
43
|
-
_globals['_WORKFLOWRUNEVENTTYPE']._serialized_end=4421
|
|
44
|
-
_globals['_WORKERLABELS']._serialized_start=53
|
|
45
|
-
_globals['_WORKERLABELS']._serialized_end=139
|
|
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=2159
|
|
72
|
-
_globals['_ACTIONEVENTRESPONSE']._serialized_start=2161
|
|
73
|
-
_globals['_ACTIONEVENTRESPONSE']._serialized_end=2218
|
|
74
|
-
_globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_start=2221
|
|
75
|
-
_globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_end=2413
|
|
76
|
-
_globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_start=2415
|
|
77
|
-
_globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_end=2470
|
|
78
|
-
_globals['_WORKFLOWEVENT']._serialized_start=2473
|
|
79
|
-
_globals['_WORKFLOWEVENT']._serialized_end=2779
|
|
80
|
-
_globals['_WORKFLOWRUNEVENT']._serialized_start=2782
|
|
81
|
-
_globals['_WORKFLOWRUNEVENT']._serialized_end=2950
|
|
82
|
-
_globals['_STEPRUNRESULT']._serialized_start=2953
|
|
83
|
-
_globals['_STEPRUNRESULT']._serialized_end=3091
|
|
84
|
-
_globals['_OVERRIDESDATA']._serialized_start=3093
|
|
85
|
-
_globals['_OVERRIDESDATA']._serialized_end=3180
|
|
86
|
-
_globals['_OVERRIDESDATARESPONSE']._serialized_start=3182
|
|
87
|
-
_globals['_OVERRIDESDATARESPONSE']._serialized_end=3205
|
|
88
|
-
_globals['_HEARTBEATREQUEST']._serialized_start=3207
|
|
89
|
-
_globals['_HEARTBEATREQUEST']._serialized_end=3292
|
|
90
|
-
_globals['_HEARTBEATRESPONSE']._serialized_start=3294
|
|
91
|
-
_globals['_HEARTBEATRESPONSE']._serialized_end=3313
|
|
92
|
-
_globals['_REFRESHTIMEOUTREQUEST']._serialized_start=3315
|
|
93
|
-
_globals['_REFRESHTIMEOUTREQUEST']._serialized_end=3385
|
|
94
|
-
_globals['_REFRESHTIMEOUTRESPONSE']._serialized_start=3387
|
|
95
|
-
_globals['_REFRESHTIMEOUTRESPONSE']._serialized_end=3458
|
|
96
|
-
_globals['_RELEASESLOTREQUEST']._serialized_start=3460
|
|
97
|
-
_globals['_RELEASESLOTREQUEST']._serialized_end=3499
|
|
98
|
-
_globals['_RELEASESLOTRESPONSE']._serialized_start=3501
|
|
99
|
-
_globals['_RELEASESLOTRESPONSE']._serialized_end=3522
|
|
100
|
-
_globals['_DISPATCHER']._serialized_start=4424
|
|
101
|
-
_globals['_DISPATCHER']._serialized_end=5312
|
|
102
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
2
|
-
from google.protobuf.internal import containers as _containers
|
|
3
|
-
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
|
-
from google.protobuf import descriptor as _descriptor
|
|
5
|
-
from google.protobuf import message as _message
|
|
6
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
-
|
|
8
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
-
|
|
10
|
-
class SDKS(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
11
|
-
__slots__ = ()
|
|
12
|
-
UNKNOWN: _ClassVar[SDKS]
|
|
13
|
-
GO: _ClassVar[SDKS]
|
|
14
|
-
PYTHON: _ClassVar[SDKS]
|
|
15
|
-
TYPESCRIPT: _ClassVar[SDKS]
|
|
16
|
-
|
|
17
|
-
class ActionType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
18
|
-
__slots__ = ()
|
|
19
|
-
START_STEP_RUN: _ClassVar[ActionType]
|
|
20
|
-
CANCEL_STEP_RUN: _ClassVar[ActionType]
|
|
21
|
-
START_GET_GROUP_KEY: _ClassVar[ActionType]
|
|
22
|
-
|
|
23
|
-
class GroupKeyActionEventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
24
|
-
__slots__ = ()
|
|
25
|
-
GROUP_KEY_EVENT_TYPE_UNKNOWN: _ClassVar[GroupKeyActionEventType]
|
|
26
|
-
GROUP_KEY_EVENT_TYPE_STARTED: _ClassVar[GroupKeyActionEventType]
|
|
27
|
-
GROUP_KEY_EVENT_TYPE_COMPLETED: _ClassVar[GroupKeyActionEventType]
|
|
28
|
-
GROUP_KEY_EVENT_TYPE_FAILED: _ClassVar[GroupKeyActionEventType]
|
|
29
|
-
|
|
30
|
-
class StepActionEventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
31
|
-
__slots__ = ()
|
|
32
|
-
STEP_EVENT_TYPE_UNKNOWN: _ClassVar[StepActionEventType]
|
|
33
|
-
STEP_EVENT_TYPE_STARTED: _ClassVar[StepActionEventType]
|
|
34
|
-
STEP_EVENT_TYPE_COMPLETED: _ClassVar[StepActionEventType]
|
|
35
|
-
STEP_EVENT_TYPE_FAILED: _ClassVar[StepActionEventType]
|
|
36
|
-
STEP_EVENT_TYPE_ACKNOWLEDGED: _ClassVar[StepActionEventType]
|
|
37
|
-
|
|
38
|
-
class ResourceType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
39
|
-
__slots__ = ()
|
|
40
|
-
RESOURCE_TYPE_UNKNOWN: _ClassVar[ResourceType]
|
|
41
|
-
RESOURCE_TYPE_STEP_RUN: _ClassVar[ResourceType]
|
|
42
|
-
RESOURCE_TYPE_WORKFLOW_RUN: _ClassVar[ResourceType]
|
|
43
|
-
|
|
44
|
-
class ResourceEventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
45
|
-
__slots__ = ()
|
|
46
|
-
RESOURCE_EVENT_TYPE_UNKNOWN: _ClassVar[ResourceEventType]
|
|
47
|
-
RESOURCE_EVENT_TYPE_STARTED: _ClassVar[ResourceEventType]
|
|
48
|
-
RESOURCE_EVENT_TYPE_COMPLETED: _ClassVar[ResourceEventType]
|
|
49
|
-
RESOURCE_EVENT_TYPE_FAILED: _ClassVar[ResourceEventType]
|
|
50
|
-
RESOURCE_EVENT_TYPE_CANCELLED: _ClassVar[ResourceEventType]
|
|
51
|
-
RESOURCE_EVENT_TYPE_TIMED_OUT: _ClassVar[ResourceEventType]
|
|
52
|
-
RESOURCE_EVENT_TYPE_STREAM: _ClassVar[ResourceEventType]
|
|
53
|
-
|
|
54
|
-
class WorkflowRunEventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
55
|
-
__slots__ = ()
|
|
56
|
-
WORKFLOW_RUN_EVENT_TYPE_FINISHED: _ClassVar[WorkflowRunEventType]
|
|
57
|
-
UNKNOWN: SDKS
|
|
58
|
-
GO: SDKS
|
|
59
|
-
PYTHON: SDKS
|
|
60
|
-
TYPESCRIPT: SDKS
|
|
61
|
-
START_STEP_RUN: ActionType
|
|
62
|
-
CANCEL_STEP_RUN: ActionType
|
|
63
|
-
START_GET_GROUP_KEY: ActionType
|
|
64
|
-
GROUP_KEY_EVENT_TYPE_UNKNOWN: GroupKeyActionEventType
|
|
65
|
-
GROUP_KEY_EVENT_TYPE_STARTED: GroupKeyActionEventType
|
|
66
|
-
GROUP_KEY_EVENT_TYPE_COMPLETED: GroupKeyActionEventType
|
|
67
|
-
GROUP_KEY_EVENT_TYPE_FAILED: GroupKeyActionEventType
|
|
68
|
-
STEP_EVENT_TYPE_UNKNOWN: StepActionEventType
|
|
69
|
-
STEP_EVENT_TYPE_STARTED: StepActionEventType
|
|
70
|
-
STEP_EVENT_TYPE_COMPLETED: StepActionEventType
|
|
71
|
-
STEP_EVENT_TYPE_FAILED: StepActionEventType
|
|
72
|
-
STEP_EVENT_TYPE_ACKNOWLEDGED: StepActionEventType
|
|
73
|
-
RESOURCE_TYPE_UNKNOWN: ResourceType
|
|
74
|
-
RESOURCE_TYPE_STEP_RUN: ResourceType
|
|
75
|
-
RESOURCE_TYPE_WORKFLOW_RUN: ResourceType
|
|
76
|
-
RESOURCE_EVENT_TYPE_UNKNOWN: ResourceEventType
|
|
77
|
-
RESOURCE_EVENT_TYPE_STARTED: ResourceEventType
|
|
78
|
-
RESOURCE_EVENT_TYPE_COMPLETED: ResourceEventType
|
|
79
|
-
RESOURCE_EVENT_TYPE_FAILED: ResourceEventType
|
|
80
|
-
RESOURCE_EVENT_TYPE_CANCELLED: ResourceEventType
|
|
81
|
-
RESOURCE_EVENT_TYPE_TIMED_OUT: ResourceEventType
|
|
82
|
-
RESOURCE_EVENT_TYPE_STREAM: ResourceEventType
|
|
83
|
-
WORKFLOW_RUN_EVENT_TYPE_FINISHED: WorkflowRunEventType
|
|
84
|
-
|
|
85
|
-
class WorkerLabels(_message.Message):
|
|
86
|
-
__slots__ = ("strValue", "intValue")
|
|
87
|
-
STRVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
-
INTVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
-
strValue: str
|
|
90
|
-
intValue: int
|
|
91
|
-
def __init__(self, strValue: _Optional[str] = ..., intValue: _Optional[int] = ...) -> None: ...
|
|
92
|
-
|
|
93
|
-
class RuntimeInfo(_message.Message):
|
|
94
|
-
__slots__ = ("sdkVersion", "language", "languageVersion", "os", "extra")
|
|
95
|
-
SDKVERSION_FIELD_NUMBER: _ClassVar[int]
|
|
96
|
-
LANGUAGE_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
-
LANGUAGEVERSION_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
-
OS_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
-
EXTRA_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
-
sdkVersion: str
|
|
101
|
-
language: SDKS
|
|
102
|
-
languageVersion: str
|
|
103
|
-
os: str
|
|
104
|
-
extra: str
|
|
105
|
-
def __init__(self, sdkVersion: _Optional[str] = ..., language: _Optional[_Union[SDKS, str]] = ..., languageVersion: _Optional[str] = ..., os: _Optional[str] = ..., extra: _Optional[str] = ...) -> None: ...
|
|
106
|
-
|
|
107
|
-
class WorkerRegisterRequest(_message.Message):
|
|
108
|
-
__slots__ = ("workerName", "actions", "services", "maxRuns", "labels", "webhookId", "runtimeInfo")
|
|
109
|
-
class LabelsEntry(_message.Message):
|
|
110
|
-
__slots__ = ("key", "value")
|
|
111
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
112
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
-
key: str
|
|
114
|
-
value: WorkerLabels
|
|
115
|
-
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[WorkerLabels, _Mapping]] = ...) -> None: ...
|
|
116
|
-
WORKERNAME_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
-
ACTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
118
|
-
SERVICES_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
-
MAXRUNS_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
-
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
-
WEBHOOKID_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
-
RUNTIMEINFO_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
-
workerName: str
|
|
124
|
-
actions: _containers.RepeatedScalarFieldContainer[str]
|
|
125
|
-
services: _containers.RepeatedScalarFieldContainer[str]
|
|
126
|
-
maxRuns: int
|
|
127
|
-
labels: _containers.MessageMap[str, WorkerLabels]
|
|
128
|
-
webhookId: str
|
|
129
|
-
runtimeInfo: RuntimeInfo
|
|
130
|
-
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: ...
|
|
131
|
-
|
|
132
|
-
class WorkerRegisterResponse(_message.Message):
|
|
133
|
-
__slots__ = ("tenantId", "workerId", "workerName")
|
|
134
|
-
TENANTID_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
-
WORKERNAME_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
-
tenantId: str
|
|
138
|
-
workerId: str
|
|
139
|
-
workerName: str
|
|
140
|
-
def __init__(self, tenantId: _Optional[str] = ..., workerId: _Optional[str] = ..., workerName: _Optional[str] = ...) -> None: ...
|
|
141
|
-
|
|
142
|
-
class UpsertWorkerLabelsRequest(_message.Message):
|
|
143
|
-
__slots__ = ("workerId", "labels")
|
|
144
|
-
class LabelsEntry(_message.Message):
|
|
145
|
-
__slots__ = ("key", "value")
|
|
146
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
-
key: str
|
|
149
|
-
value: WorkerLabels
|
|
150
|
-
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[WorkerLabels, _Mapping]] = ...) -> None: ...
|
|
151
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
152
|
-
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
-
workerId: str
|
|
154
|
-
labels: _containers.MessageMap[str, WorkerLabels]
|
|
155
|
-
def __init__(self, workerId: _Optional[str] = ..., labels: _Optional[_Mapping[str, WorkerLabels]] = ...) -> None: ...
|
|
156
|
-
|
|
157
|
-
class UpsertWorkerLabelsResponse(_message.Message):
|
|
158
|
-
__slots__ = ("tenantId", "workerId")
|
|
159
|
-
TENANTID_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
-
tenantId: str
|
|
162
|
-
workerId: str
|
|
163
|
-
def __init__(self, tenantId: _Optional[str] = ..., workerId: _Optional[str] = ...) -> None: ...
|
|
164
|
-
|
|
165
|
-
class AssignedAction(_message.Message):
|
|
166
|
-
__slots__ = ("tenantId", "workflowRunId", "getGroupKeyRunId", "jobId", "jobName", "jobRunId", "stepId", "stepRunId", "actionId", "actionType", "actionPayload", "stepName", "retryCount", "additional_metadata", "child_workflow_index", "child_workflow_key", "parent_workflow_run_id")
|
|
167
|
-
TENANTID_FIELD_NUMBER: _ClassVar[int]
|
|
168
|
-
WORKFLOWRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
-
GETGROUPKEYRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
170
|
-
JOBID_FIELD_NUMBER: _ClassVar[int]
|
|
171
|
-
JOBNAME_FIELD_NUMBER: _ClassVar[int]
|
|
172
|
-
JOBRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
173
|
-
STEPID_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
-
STEPRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
-
ACTIONID_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
-
ACTIONTYPE_FIELD_NUMBER: _ClassVar[int]
|
|
177
|
-
ACTIONPAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
178
|
-
STEPNAME_FIELD_NUMBER: _ClassVar[int]
|
|
179
|
-
RETRYCOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
180
|
-
ADDITIONAL_METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
181
|
-
CHILD_WORKFLOW_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
182
|
-
CHILD_WORKFLOW_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
183
|
-
PARENT_WORKFLOW_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
184
|
-
tenantId: str
|
|
185
|
-
workflowRunId: str
|
|
186
|
-
getGroupKeyRunId: str
|
|
187
|
-
jobId: str
|
|
188
|
-
jobName: str
|
|
189
|
-
jobRunId: str
|
|
190
|
-
stepId: str
|
|
191
|
-
stepRunId: str
|
|
192
|
-
actionId: str
|
|
193
|
-
actionType: ActionType
|
|
194
|
-
actionPayload: str
|
|
195
|
-
stepName: str
|
|
196
|
-
retryCount: int
|
|
197
|
-
additional_metadata: str
|
|
198
|
-
child_workflow_index: int
|
|
199
|
-
child_workflow_key: str
|
|
200
|
-
parent_workflow_run_id: str
|
|
201
|
-
def __init__(self, tenantId: _Optional[str] = ..., workflowRunId: _Optional[str] = ..., getGroupKeyRunId: _Optional[str] = ..., jobId: _Optional[str] = ..., jobName: _Optional[str] = ..., jobRunId: _Optional[str] = ..., stepId: _Optional[str] = ..., stepRunId: _Optional[str] = ..., actionId: _Optional[str] = ..., actionType: _Optional[_Union[ActionType, str]] = ..., actionPayload: _Optional[str] = ..., stepName: _Optional[str] = ..., retryCount: _Optional[int] = ..., additional_metadata: _Optional[str] = ..., child_workflow_index: _Optional[int] = ..., child_workflow_key: _Optional[str] = ..., parent_workflow_run_id: _Optional[str] = ...) -> None: ...
|
|
202
|
-
|
|
203
|
-
class WorkerListenRequest(_message.Message):
|
|
204
|
-
__slots__ = ("workerId",)
|
|
205
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
206
|
-
workerId: str
|
|
207
|
-
def __init__(self, workerId: _Optional[str] = ...) -> None: ...
|
|
208
|
-
|
|
209
|
-
class WorkerUnsubscribeRequest(_message.Message):
|
|
210
|
-
__slots__ = ("workerId",)
|
|
211
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
212
|
-
workerId: str
|
|
213
|
-
def __init__(self, workerId: _Optional[str] = ...) -> None: ...
|
|
214
|
-
|
|
215
|
-
class WorkerUnsubscribeResponse(_message.Message):
|
|
216
|
-
__slots__ = ("tenantId", "workerId")
|
|
217
|
-
TENANTID_FIELD_NUMBER: _ClassVar[int]
|
|
218
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
219
|
-
tenantId: str
|
|
220
|
-
workerId: str
|
|
221
|
-
def __init__(self, tenantId: _Optional[str] = ..., workerId: _Optional[str] = ...) -> None: ...
|
|
222
|
-
|
|
223
|
-
class GroupKeyActionEvent(_message.Message):
|
|
224
|
-
__slots__ = ("workerId", "workflowRunId", "getGroupKeyRunId", "actionId", "eventTimestamp", "eventType", "eventPayload")
|
|
225
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
-
WORKFLOWRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
-
GETGROUPKEYRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
228
|
-
ACTIONID_FIELD_NUMBER: _ClassVar[int]
|
|
229
|
-
EVENTTIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
230
|
-
EVENTTYPE_FIELD_NUMBER: _ClassVar[int]
|
|
231
|
-
EVENTPAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
232
|
-
workerId: str
|
|
233
|
-
workflowRunId: str
|
|
234
|
-
getGroupKeyRunId: str
|
|
235
|
-
actionId: str
|
|
236
|
-
eventTimestamp: _timestamp_pb2.Timestamp
|
|
237
|
-
eventType: GroupKeyActionEventType
|
|
238
|
-
eventPayload: str
|
|
239
|
-
def __init__(self, workerId: _Optional[str] = ..., workflowRunId: _Optional[str] = ..., getGroupKeyRunId: _Optional[str] = ..., actionId: _Optional[str] = ..., eventTimestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., eventType: _Optional[_Union[GroupKeyActionEventType, str]] = ..., eventPayload: _Optional[str] = ...) -> None: ...
|
|
240
|
-
|
|
241
|
-
class StepActionEvent(_message.Message):
|
|
242
|
-
__slots__ = ("workerId", "jobId", "jobRunId", "stepId", "stepRunId", "actionId", "eventTimestamp", "eventType", "eventPayload", "retryCount")
|
|
243
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
244
|
-
JOBID_FIELD_NUMBER: _ClassVar[int]
|
|
245
|
-
JOBRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
246
|
-
STEPID_FIELD_NUMBER: _ClassVar[int]
|
|
247
|
-
STEPRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
248
|
-
ACTIONID_FIELD_NUMBER: _ClassVar[int]
|
|
249
|
-
EVENTTIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
250
|
-
EVENTTYPE_FIELD_NUMBER: _ClassVar[int]
|
|
251
|
-
EVENTPAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
252
|
-
RETRYCOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
-
workerId: str
|
|
254
|
-
jobId: str
|
|
255
|
-
jobRunId: str
|
|
256
|
-
stepId: str
|
|
257
|
-
stepRunId: str
|
|
258
|
-
actionId: str
|
|
259
|
-
eventTimestamp: _timestamp_pb2.Timestamp
|
|
260
|
-
eventType: StepActionEventType
|
|
261
|
-
eventPayload: str
|
|
262
|
-
retryCount: int
|
|
263
|
-
def __init__(self, workerId: _Optional[str] = ..., jobId: _Optional[str] = ..., jobRunId: _Optional[str] = ..., stepId: _Optional[str] = ..., stepRunId: _Optional[str] = ..., actionId: _Optional[str] = ..., eventTimestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., eventType: _Optional[_Union[StepActionEventType, str]] = ..., eventPayload: _Optional[str] = ..., retryCount: _Optional[int] = ...) -> None: ...
|
|
264
|
-
|
|
265
|
-
class ActionEventResponse(_message.Message):
|
|
266
|
-
__slots__ = ("tenantId", "workerId")
|
|
267
|
-
TENANTID_FIELD_NUMBER: _ClassVar[int]
|
|
268
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
269
|
-
tenantId: str
|
|
270
|
-
workerId: str
|
|
271
|
-
def __init__(self, tenantId: _Optional[str] = ..., workerId: _Optional[str] = ...) -> None: ...
|
|
272
|
-
|
|
273
|
-
class SubscribeToWorkflowEventsRequest(_message.Message):
|
|
274
|
-
__slots__ = ("workflowRunId", "additionalMetaKey", "additionalMetaValue")
|
|
275
|
-
WORKFLOWRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
276
|
-
ADDITIONALMETAKEY_FIELD_NUMBER: _ClassVar[int]
|
|
277
|
-
ADDITIONALMETAVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
278
|
-
workflowRunId: str
|
|
279
|
-
additionalMetaKey: str
|
|
280
|
-
additionalMetaValue: str
|
|
281
|
-
def __init__(self, workflowRunId: _Optional[str] = ..., additionalMetaKey: _Optional[str] = ..., additionalMetaValue: _Optional[str] = ...) -> None: ...
|
|
282
|
-
|
|
283
|
-
class SubscribeToWorkflowRunsRequest(_message.Message):
|
|
284
|
-
__slots__ = ("workflowRunId",)
|
|
285
|
-
WORKFLOWRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
286
|
-
workflowRunId: str
|
|
287
|
-
def __init__(self, workflowRunId: _Optional[str] = ...) -> None: ...
|
|
288
|
-
|
|
289
|
-
class WorkflowEvent(_message.Message):
|
|
290
|
-
__slots__ = ("workflowRunId", "resourceType", "eventType", "resourceId", "eventTimestamp", "eventPayload", "hangup", "stepRetries", "retryCount")
|
|
291
|
-
WORKFLOWRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
292
|
-
RESOURCETYPE_FIELD_NUMBER: _ClassVar[int]
|
|
293
|
-
EVENTTYPE_FIELD_NUMBER: _ClassVar[int]
|
|
294
|
-
RESOURCEID_FIELD_NUMBER: _ClassVar[int]
|
|
295
|
-
EVENTTIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
296
|
-
EVENTPAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
297
|
-
HANGUP_FIELD_NUMBER: _ClassVar[int]
|
|
298
|
-
STEPRETRIES_FIELD_NUMBER: _ClassVar[int]
|
|
299
|
-
RETRYCOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
300
|
-
workflowRunId: str
|
|
301
|
-
resourceType: ResourceType
|
|
302
|
-
eventType: ResourceEventType
|
|
303
|
-
resourceId: str
|
|
304
|
-
eventTimestamp: _timestamp_pb2.Timestamp
|
|
305
|
-
eventPayload: str
|
|
306
|
-
hangup: bool
|
|
307
|
-
stepRetries: int
|
|
308
|
-
retryCount: int
|
|
309
|
-
def __init__(self, workflowRunId: _Optional[str] = ..., resourceType: _Optional[_Union[ResourceType, str]] = ..., eventType: _Optional[_Union[ResourceEventType, str]] = ..., resourceId: _Optional[str] = ..., eventTimestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., eventPayload: _Optional[str] = ..., hangup: bool = ..., stepRetries: _Optional[int] = ..., retryCount: _Optional[int] = ...) -> None: ...
|
|
310
|
-
|
|
311
|
-
class WorkflowRunEvent(_message.Message):
|
|
312
|
-
__slots__ = ("workflowRunId", "eventType", "eventTimestamp", "results")
|
|
313
|
-
WORKFLOWRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
314
|
-
EVENTTYPE_FIELD_NUMBER: _ClassVar[int]
|
|
315
|
-
EVENTTIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
316
|
-
RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
317
|
-
workflowRunId: str
|
|
318
|
-
eventType: WorkflowRunEventType
|
|
319
|
-
eventTimestamp: _timestamp_pb2.Timestamp
|
|
320
|
-
results: _containers.RepeatedCompositeFieldContainer[StepRunResult]
|
|
321
|
-
def __init__(self, workflowRunId: _Optional[str] = ..., eventType: _Optional[_Union[WorkflowRunEventType, str]] = ..., eventTimestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., results: _Optional[_Iterable[_Union[StepRunResult, _Mapping]]] = ...) -> None: ...
|
|
322
|
-
|
|
323
|
-
class StepRunResult(_message.Message):
|
|
324
|
-
__slots__ = ("stepRunId", "stepReadableId", "jobRunId", "error", "output")
|
|
325
|
-
STEPRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
326
|
-
STEPREADABLEID_FIELD_NUMBER: _ClassVar[int]
|
|
327
|
-
JOBRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
328
|
-
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
329
|
-
OUTPUT_FIELD_NUMBER: _ClassVar[int]
|
|
330
|
-
stepRunId: str
|
|
331
|
-
stepReadableId: str
|
|
332
|
-
jobRunId: str
|
|
333
|
-
error: str
|
|
334
|
-
output: str
|
|
335
|
-
def __init__(self, stepRunId: _Optional[str] = ..., stepReadableId: _Optional[str] = ..., jobRunId: _Optional[str] = ..., error: _Optional[str] = ..., output: _Optional[str] = ...) -> None: ...
|
|
336
|
-
|
|
337
|
-
class OverridesData(_message.Message):
|
|
338
|
-
__slots__ = ("stepRunId", "path", "value", "callerFilename")
|
|
339
|
-
STEPRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
340
|
-
PATH_FIELD_NUMBER: _ClassVar[int]
|
|
341
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
342
|
-
CALLERFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
343
|
-
stepRunId: str
|
|
344
|
-
path: str
|
|
345
|
-
value: str
|
|
346
|
-
callerFilename: str
|
|
347
|
-
def __init__(self, stepRunId: _Optional[str] = ..., path: _Optional[str] = ..., value: _Optional[str] = ..., callerFilename: _Optional[str] = ...) -> None: ...
|
|
348
|
-
|
|
349
|
-
class OverridesDataResponse(_message.Message):
|
|
350
|
-
__slots__ = ()
|
|
351
|
-
def __init__(self) -> None: ...
|
|
352
|
-
|
|
353
|
-
class HeartbeatRequest(_message.Message):
|
|
354
|
-
__slots__ = ("workerId", "heartbeatAt")
|
|
355
|
-
WORKERID_FIELD_NUMBER: _ClassVar[int]
|
|
356
|
-
HEARTBEATAT_FIELD_NUMBER: _ClassVar[int]
|
|
357
|
-
workerId: str
|
|
358
|
-
heartbeatAt: _timestamp_pb2.Timestamp
|
|
359
|
-
def __init__(self, workerId: _Optional[str] = ..., heartbeatAt: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
360
|
-
|
|
361
|
-
class HeartbeatResponse(_message.Message):
|
|
362
|
-
__slots__ = ()
|
|
363
|
-
def __init__(self) -> None: ...
|
|
364
|
-
|
|
365
|
-
class RefreshTimeoutRequest(_message.Message):
|
|
366
|
-
__slots__ = ("stepRunId", "incrementTimeoutBy")
|
|
367
|
-
STEPRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
368
|
-
INCREMENTTIMEOUTBY_FIELD_NUMBER: _ClassVar[int]
|
|
369
|
-
stepRunId: str
|
|
370
|
-
incrementTimeoutBy: str
|
|
371
|
-
def __init__(self, stepRunId: _Optional[str] = ..., incrementTimeoutBy: _Optional[str] = ...) -> None: ...
|
|
372
|
-
|
|
373
|
-
class RefreshTimeoutResponse(_message.Message):
|
|
374
|
-
__slots__ = ("timeoutAt",)
|
|
375
|
-
TIMEOUTAT_FIELD_NUMBER: _ClassVar[int]
|
|
376
|
-
timeoutAt: _timestamp_pb2.Timestamp
|
|
377
|
-
def __init__(self, timeoutAt: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
378
|
-
|
|
379
|
-
class ReleaseSlotRequest(_message.Message):
|
|
380
|
-
__slots__ = ("stepRunId",)
|
|
381
|
-
STEPRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
382
|
-
stepRunId: str
|
|
383
|
-
def __init__(self, stepRunId: _Optional[str] = ...) -> None: ...
|
|
384
|
-
|
|
385
|
-
class ReleaseSlotResponse(_message.Message):
|
|
386
|
-
__slots__ = ()
|
|
387
|
-
def __init__(self) -> None: ...
|