hatchet-sdk 1.4.1__py3-none-any.whl → 1.5.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/clients/admin.py +13 -4
- hatchet_sdk/clients/dispatcher/action_listener.py +3 -0
- hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py +4 -1
- hatchet_sdk/clients/rest/models/cron_workflows.py +4 -1
- hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py +9 -2
- hatchet_sdk/clients/rest/models/scheduled_workflows.py +3 -0
- hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py +11 -2
- hatchet_sdk/clients/rest/models/workflow_runs_metrics.py +5 -1
- hatchet_sdk/context/context.py +4 -0
- hatchet_sdk/contracts/dispatcher_pb2.py +56 -56
- hatchet_sdk/contracts/dispatcher_pb2.pyi +4 -2
- hatchet_sdk/contracts/v1/workflows_pb2.py +29 -29
- hatchet_sdk/contracts/v1/workflows_pb2.pyi +8 -4
- hatchet_sdk/contracts/workflows_pb2.py +34 -34
- hatchet_sdk/contracts/workflows_pb2.pyi +4 -2
- hatchet_sdk/features/cron.py +4 -0
- hatchet_sdk/features/runs.py +4 -1
- hatchet_sdk/hatchet.py +1 -0
- hatchet_sdk/runnables/types.py +1 -0
- hatchet_sdk/runnables/workflow.py +5 -0
- {hatchet_sdk-1.4.1.dist-info → hatchet_sdk-1.5.0.dist-info}/METADATA +1 -1
- {hatchet_sdk-1.4.1.dist-info → hatchet_sdk-1.5.0.dist-info}/RECORD +24 -24
- {hatchet_sdk-1.4.1.dist-info → hatchet_sdk-1.5.0.dist-info}/WHEEL +0 -0
- {hatchet_sdk-1.4.1.dist-info → hatchet_sdk-1.5.0.dist-info}/entry_points.txt +0 -0
hatchet_sdk/clients/admin.py
CHANGED
|
@@ -42,6 +42,7 @@ class ScheduleTriggerWorkflowOptions(BaseModel):
|
|
|
42
42
|
child_key: str | None = None
|
|
43
43
|
namespace: str | None = None
|
|
44
44
|
additional_metadata: JSONSerializableMapping = Field(default_factory=dict)
|
|
45
|
+
priority: int | None = None
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
class TriggerWorkflowOptions(ScheduleTriggerWorkflowOptions):
|
|
@@ -126,12 +127,18 @@ class AdminClient:
|
|
|
126
127
|
except json.JSONDecodeError as e:
|
|
127
128
|
raise ValueError(f"Error encoding payload: {e}")
|
|
128
129
|
|
|
129
|
-
_options = self.TriggerWorkflowRequest.model_validate(
|
|
130
|
-
options.model_dump()
|
|
131
|
-
).model_dump()
|
|
130
|
+
_options = self.TriggerWorkflowRequest.model_validate(options.model_dump())
|
|
132
131
|
|
|
133
132
|
return v0_workflow_protos.TriggerWorkflowRequest(
|
|
134
|
-
name=workflow_name,
|
|
133
|
+
name=workflow_name,
|
|
134
|
+
input=payload_data,
|
|
135
|
+
parent_id=_options.parent_id,
|
|
136
|
+
parent_step_run_id=_options.parent_step_run_id,
|
|
137
|
+
child_index=_options.child_index,
|
|
138
|
+
child_key=_options.child_key,
|
|
139
|
+
additional_metadata=_options.additional_metadata,
|
|
140
|
+
desired_worker_id=_options.desired_worker_id,
|
|
141
|
+
priority=_options.priority,
|
|
135
142
|
)
|
|
136
143
|
|
|
137
144
|
def _prepare_put_workflow_request(
|
|
@@ -178,6 +185,7 @@ class AdminClient:
|
|
|
178
185
|
child_index=options.child_index,
|
|
179
186
|
child_key=options.child_key,
|
|
180
187
|
additional_metadata=json.dumps(options.additional_metadata),
|
|
188
|
+
priority=options.priority,
|
|
181
189
|
)
|
|
182
190
|
|
|
183
191
|
@tenacity_retry
|
|
@@ -315,6 +323,7 @@ class AdminClient:
|
|
|
315
323
|
child_index=child_index,
|
|
316
324
|
additional_metadata=options.additional_metadata,
|
|
317
325
|
desired_worker_id=desired_worker_id,
|
|
326
|
+
priority=options.priority,
|
|
318
327
|
)
|
|
319
328
|
|
|
320
329
|
namespace = options.namespace or self.namespace
|
|
@@ -105,6 +105,8 @@ class Action(BaseModel):
|
|
|
105
105
|
child_workflow_key: str | None = None
|
|
106
106
|
parent_workflow_run_id: str | None = None
|
|
107
107
|
|
|
108
|
+
priority: int | None = None
|
|
109
|
+
|
|
108
110
|
def _dump_payload_to_str(self) -> str:
|
|
109
111
|
try:
|
|
110
112
|
return json.dumps(self.action_payload.model_dump(), default=str)
|
|
@@ -320,6 +322,7 @@ class ActionListener:
|
|
|
320
322
|
child_workflow_index=assigned_action.child_workflow_index,
|
|
321
323
|
child_workflow_key=assigned_action.child_workflow_key,
|
|
322
324
|
parent_workflow_run_id=assigned_action.parent_workflow_run_id,
|
|
325
|
+
priority=assigned_action.priority,
|
|
323
326
|
)
|
|
324
327
|
|
|
325
328
|
yield action
|
|
@@ -20,7 +20,7 @@ import re # noqa: F401
|
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
21
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
23
|
-
from typing_extensions import Self
|
|
23
|
+
from typing_extensions import Annotated, Self
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class CreateCronWorkflowTriggerRequest(BaseModel):
|
|
@@ -32,11 +32,13 @@ class CreateCronWorkflowTriggerRequest(BaseModel):
|
|
|
32
32
|
additional_metadata: Dict[str, Any] = Field(alias="additionalMetadata")
|
|
33
33
|
cron_name: StrictStr = Field(alias="cronName")
|
|
34
34
|
cron_expression: StrictStr = Field(alias="cronExpression")
|
|
35
|
+
priority: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = None
|
|
35
36
|
__properties: ClassVar[List[str]] = [
|
|
36
37
|
"input",
|
|
37
38
|
"additionalMetadata",
|
|
38
39
|
"cronName",
|
|
39
40
|
"cronExpression",
|
|
41
|
+
"priority",
|
|
40
42
|
]
|
|
41
43
|
|
|
42
44
|
model_config = ConfigDict(
|
|
@@ -93,6 +95,7 @@ class CreateCronWorkflowTriggerRequest(BaseModel):
|
|
|
93
95
|
"additionalMetadata": obj.get("additionalMetadata"),
|
|
94
96
|
"cronName": obj.get("cronName"),
|
|
95
97
|
"cronExpression": obj.get("cronExpression"),
|
|
98
|
+
"priority": obj.get("priority"),
|
|
96
99
|
}
|
|
97
100
|
)
|
|
98
101
|
return _obj
|
|
@@ -20,7 +20,7 @@ import re # noqa: F401
|
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
21
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
23
|
-
from typing_extensions import Self
|
|
23
|
+
from typing_extensions import Annotated, Self
|
|
24
24
|
|
|
25
25
|
from hatchet_sdk.clients.rest.models.api_resource_meta import APIResourceMeta
|
|
26
26
|
from hatchet_sdk.clients.rest.models.cron_workflows_method import CronWorkflowsMethod
|
|
@@ -44,6 +44,7 @@ class CronWorkflows(BaseModel):
|
|
|
44
44
|
)
|
|
45
45
|
enabled: StrictBool
|
|
46
46
|
method: CronWorkflowsMethod
|
|
47
|
+
priority: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = None
|
|
47
48
|
__properties: ClassVar[List[str]] = [
|
|
48
49
|
"metadata",
|
|
49
50
|
"tenantId",
|
|
@@ -56,6 +57,7 @@ class CronWorkflows(BaseModel):
|
|
|
56
57
|
"additionalMetadata",
|
|
57
58
|
"enabled",
|
|
58
59
|
"method",
|
|
60
|
+
"priority",
|
|
59
61
|
]
|
|
60
62
|
|
|
61
63
|
model_config = ConfigDict(
|
|
@@ -126,6 +128,7 @@ class CronWorkflows(BaseModel):
|
|
|
126
128
|
"additionalMetadata": obj.get("additionalMetadata"),
|
|
127
129
|
"enabled": obj.get("enabled"),
|
|
128
130
|
"method": obj.get("method"),
|
|
131
|
+
"priority": obj.get("priority"),
|
|
129
132
|
}
|
|
130
133
|
)
|
|
131
134
|
return _obj
|
|
@@ -21,7 +21,7 @@ from datetime import datetime
|
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
22
22
|
|
|
23
23
|
from pydantic import BaseModel, ConfigDict, Field
|
|
24
|
-
from typing_extensions import Self
|
|
24
|
+
from typing_extensions import Annotated, Self
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class ScheduleWorkflowRunRequest(BaseModel):
|
|
@@ -32,7 +32,13 @@ class ScheduleWorkflowRunRequest(BaseModel):
|
|
|
32
32
|
input: Dict[str, Any]
|
|
33
33
|
additional_metadata: Dict[str, Any] = Field(alias="additionalMetadata")
|
|
34
34
|
trigger_at: datetime = Field(alias="triggerAt")
|
|
35
|
-
|
|
35
|
+
priority: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = None
|
|
36
|
+
__properties: ClassVar[List[str]] = [
|
|
37
|
+
"input",
|
|
38
|
+
"additionalMetadata",
|
|
39
|
+
"triggerAt",
|
|
40
|
+
"priority",
|
|
41
|
+
]
|
|
36
42
|
|
|
37
43
|
model_config = ConfigDict(
|
|
38
44
|
populate_by_name=True,
|
|
@@ -87,6 +93,7 @@ class ScheduleWorkflowRunRequest(BaseModel):
|
|
|
87
93
|
"input": obj.get("input"),
|
|
88
94
|
"additionalMetadata": obj.get("additionalMetadata"),
|
|
89
95
|
"triggerAt": obj.get("triggerAt"),
|
|
96
|
+
"priority": obj.get("priority"),
|
|
90
97
|
}
|
|
91
98
|
)
|
|
92
99
|
return _obj
|
|
@@ -58,6 +58,7 @@ class ScheduledWorkflows(BaseModel):
|
|
|
58
58
|
Annotated[str, Field(min_length=36, strict=True, max_length=36)]
|
|
59
59
|
] = Field(default=None, alias="workflowRunId")
|
|
60
60
|
method: ScheduledWorkflowsMethod
|
|
61
|
+
priority: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = None
|
|
61
62
|
__properties: ClassVar[List[str]] = [
|
|
62
63
|
"metadata",
|
|
63
64
|
"tenantId",
|
|
@@ -72,6 +73,7 @@ class ScheduledWorkflows(BaseModel):
|
|
|
72
73
|
"workflowRunStatus",
|
|
73
74
|
"workflowRunId",
|
|
74
75
|
"method",
|
|
76
|
+
"priority",
|
|
75
77
|
]
|
|
76
78
|
|
|
77
79
|
model_config = ConfigDict(
|
|
@@ -144,6 +146,7 @@ class ScheduledWorkflows(BaseModel):
|
|
|
144
146
|
"workflowRunStatus": obj.get("workflowRunStatus"),
|
|
145
147
|
"workflowRunId": obj.get("workflowRunId"),
|
|
146
148
|
"method": obj.get("method"),
|
|
149
|
+
"priority": obj.get("priority"),
|
|
147
150
|
}
|
|
148
151
|
)
|
|
149
152
|
return _obj
|
|
@@ -19,7 +19,7 @@ import pprint
|
|
|
19
19
|
import re # noqa: F401
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
21
|
|
|
22
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
25
25
|
|
|
@@ -35,7 +35,15 @@ class V1TriggerWorkflowRunRequest(BaseModel):
|
|
|
35
35
|
additional_metadata: Optional[Dict[str, Any]] = Field(
|
|
36
36
|
default=None, alias="additionalMetadata"
|
|
37
37
|
)
|
|
38
|
-
|
|
38
|
+
priority: Optional[StrictInt] = Field(
|
|
39
|
+
default=None, description="The priority of the workflow run."
|
|
40
|
+
)
|
|
41
|
+
__properties: ClassVar[List[str]] = [
|
|
42
|
+
"workflowName",
|
|
43
|
+
"input",
|
|
44
|
+
"additionalMetadata",
|
|
45
|
+
"priority",
|
|
46
|
+
]
|
|
39
47
|
|
|
40
48
|
model_config = ConfigDict(
|
|
41
49
|
populate_by_name=True,
|
|
@@ -90,6 +98,7 @@ class V1TriggerWorkflowRunRequest(BaseModel):
|
|
|
90
98
|
"workflowName": obj.get("workflowName"),
|
|
91
99
|
"input": obj.get("input"),
|
|
92
100
|
"additionalMetadata": obj.get("additionalMetadata"),
|
|
101
|
+
"priority": obj.get("priority"),
|
|
93
102
|
}
|
|
94
103
|
)
|
|
95
104
|
return _obj
|
|
@@ -22,13 +22,17 @@ from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
25
|
+
from hatchet_sdk.clients.rest.models.workflow_runs_metrics_counts import (
|
|
26
|
+
WorkflowRunsMetricsCounts,
|
|
27
|
+
)
|
|
28
|
+
|
|
25
29
|
|
|
26
30
|
class WorkflowRunsMetrics(BaseModel):
|
|
27
31
|
"""
|
|
28
32
|
WorkflowRunsMetrics
|
|
29
33
|
""" # noqa: E501
|
|
30
34
|
|
|
31
|
-
counts: Optional[
|
|
35
|
+
counts: Optional[WorkflowRunsMetricsCounts] = None
|
|
32
36
|
__properties: ClassVar[List[str]] = ["counts"]
|
|
33
37
|
|
|
34
38
|
model_config = ConfigDict(
|
hatchet_sdk/context/context.py
CHANGED
|
@@ -228,6 +228,10 @@ class Context:
|
|
|
228
228
|
def parent_workflow_run_id(self) -> str | None:
|
|
229
229
|
return self.action.parent_workflow_run_id
|
|
230
230
|
|
|
231
|
+
@property
|
|
232
|
+
def priority(self) -> int | None:
|
|
233
|
+
return self.action.priority
|
|
234
|
+
|
|
231
235
|
@property
|
|
232
236
|
def task_run_errors(self) -> dict[str, str]:
|
|
233
237
|
errors = self.data.step_run_errors
|
|
@@ -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\"\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\"\
|
|
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\"\x98\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\x12\x10\n\x08priority\x18\x12 \x01(\x05\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\"\xc4\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\x12\x1b\n\x0eshouldNotRetry\x18\x0b \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_retryCountB\x11\n\x0f_shouldNotRetry\"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,20 +27,20 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
27
27
|
_globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
28
28
|
_globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._loaded_options = None
|
|
29
29
|
_globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
30
|
-
_globals['_SDKS']._serialized_start=
|
|
31
|
-
_globals['_SDKS']._serialized_end=
|
|
32
|
-
_globals['_ACTIONTYPE']._serialized_start=
|
|
33
|
-
_globals['_ACTIONTYPE']._serialized_end=
|
|
34
|
-
_globals['_GROUPKEYACTIONEVENTTYPE']._serialized_start=
|
|
35
|
-
_globals['_GROUPKEYACTIONEVENTTYPE']._serialized_end=
|
|
36
|
-
_globals['_STEPACTIONEVENTTYPE']._serialized_start=
|
|
37
|
-
_globals['_STEPACTIONEVENTTYPE']._serialized_end=
|
|
38
|
-
_globals['_RESOURCETYPE']._serialized_start=
|
|
39
|
-
_globals['_RESOURCETYPE']._serialized_end=
|
|
40
|
-
_globals['_RESOURCEEVENTTYPE']._serialized_start=
|
|
41
|
-
_globals['_RESOURCEEVENTTYPE']._serialized_end=
|
|
42
|
-
_globals['_WORKFLOWRUNEVENTTYPE']._serialized_start=
|
|
43
|
-
_globals['_WORKFLOWRUNEVENTTYPE']._serialized_end=
|
|
30
|
+
_globals['_SDKS']._serialized_start=3590
|
|
31
|
+
_globals['_SDKS']._serialized_end=3645
|
|
32
|
+
_globals['_ACTIONTYPE']._serialized_start=3647
|
|
33
|
+
_globals['_ACTIONTYPE']._serialized_end=3725
|
|
34
|
+
_globals['_GROUPKEYACTIONEVENTTYPE']._serialized_start=3728
|
|
35
|
+
_globals['_GROUPKEYACTIONEVENTTYPE']._serialized_end=3890
|
|
36
|
+
_globals['_STEPACTIONEVENTTYPE']._serialized_start=3893
|
|
37
|
+
_globals['_STEPACTIONEVENTTYPE']._serialized_end=4065
|
|
38
|
+
_globals['_RESOURCETYPE']._serialized_start=4067
|
|
39
|
+
_globals['_RESOURCETYPE']._serialized_end=4168
|
|
40
|
+
_globals['_RESOURCEEVENTTYPE']._serialized_start=4171
|
|
41
|
+
_globals['_RESOURCEEVENTTYPE']._serialized_end=4425
|
|
42
|
+
_globals['_WORKFLOWRUNEVENTTYPE']._serialized_start=4427
|
|
43
|
+
_globals['_WORKFLOWRUNEVENTTYPE']._serialized_end=4487
|
|
44
44
|
_globals['_WORKERLABELS']._serialized_start=53
|
|
45
45
|
_globals['_WORKERLABELS']._serialized_end=139
|
|
46
46
|
_globals['_RUNTIMEINFO']._serialized_start=142
|
|
@@ -58,45 +58,45 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
58
58
|
_globals['_UPSERTWORKERLABELSRESPONSE']._serialized_start=915
|
|
59
59
|
_globals['_UPSERTWORKERLABELSRESPONSE']._serialized_end=979
|
|
60
60
|
_globals['_ASSIGNEDACTION']._serialized_start=982
|
|
61
|
-
_globals['_ASSIGNEDACTION']._serialized_end=
|
|
62
|
-
_globals['_WORKERLISTENREQUEST']._serialized_start=
|
|
63
|
-
_globals['_WORKERLISTENREQUEST']._serialized_end=
|
|
64
|
-
_globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_start=
|
|
65
|
-
_globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_end=
|
|
66
|
-
_globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_start=
|
|
67
|
-
_globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_end=
|
|
68
|
-
_globals['_GROUPKEYACTIONEVENT']._serialized_start=
|
|
69
|
-
_globals['_GROUPKEYACTIONEVENT']._serialized_end=
|
|
70
|
-
_globals['_STEPACTIONEVENT']._serialized_start=
|
|
71
|
-
_globals['_STEPACTIONEVENT']._serialized_end=
|
|
72
|
-
_globals['_ACTIONEVENTRESPONSE']._serialized_start=
|
|
73
|
-
_globals['_ACTIONEVENTRESPONSE']._serialized_end=
|
|
74
|
-
_globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_start=
|
|
75
|
-
_globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_end=
|
|
76
|
-
_globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_start=
|
|
77
|
-
_globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_end=
|
|
78
|
-
_globals['_WORKFLOWEVENT']._serialized_start=
|
|
79
|
-
_globals['_WORKFLOWEVENT']._serialized_end=
|
|
80
|
-
_globals['_WORKFLOWRUNEVENT']._serialized_start=
|
|
81
|
-
_globals['_WORKFLOWRUNEVENT']._serialized_end=
|
|
82
|
-
_globals['_STEPRUNRESULT']._serialized_start=
|
|
83
|
-
_globals['_STEPRUNRESULT']._serialized_end=
|
|
84
|
-
_globals['_OVERRIDESDATA']._serialized_start=
|
|
85
|
-
_globals['_OVERRIDESDATA']._serialized_end=
|
|
86
|
-
_globals['_OVERRIDESDATARESPONSE']._serialized_start=
|
|
87
|
-
_globals['_OVERRIDESDATARESPONSE']._serialized_end=
|
|
88
|
-
_globals['_HEARTBEATREQUEST']._serialized_start=
|
|
89
|
-
_globals['_HEARTBEATREQUEST']._serialized_end=
|
|
90
|
-
_globals['_HEARTBEATRESPONSE']._serialized_start=
|
|
91
|
-
_globals['_HEARTBEATRESPONSE']._serialized_end=
|
|
92
|
-
_globals['_REFRESHTIMEOUTREQUEST']._serialized_start=
|
|
93
|
-
_globals['_REFRESHTIMEOUTREQUEST']._serialized_end=
|
|
94
|
-
_globals['_REFRESHTIMEOUTRESPONSE']._serialized_start=
|
|
95
|
-
_globals['_REFRESHTIMEOUTRESPONSE']._serialized_end=
|
|
96
|
-
_globals['_RELEASESLOTREQUEST']._serialized_start=
|
|
97
|
-
_globals['_RELEASESLOTREQUEST']._serialized_end=
|
|
98
|
-
_globals['_RELEASESLOTRESPONSE']._serialized_start=
|
|
99
|
-
_globals['_RELEASESLOTRESPONSE']._serialized_end=
|
|
100
|
-
_globals['_DISPATCHER']._serialized_start=
|
|
101
|
-
_globals['_DISPATCHER']._serialized_end=
|
|
61
|
+
_globals['_ASSIGNEDACTION']._serialized_end=1518
|
|
62
|
+
_globals['_WORKERLISTENREQUEST']._serialized_start=1520
|
|
63
|
+
_globals['_WORKERLISTENREQUEST']._serialized_end=1559
|
|
64
|
+
_globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_start=1561
|
|
65
|
+
_globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_end=1605
|
|
66
|
+
_globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_start=1607
|
|
67
|
+
_globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_end=1670
|
|
68
|
+
_globals['_GROUPKEYACTIONEVENT']._serialized_start=1673
|
|
69
|
+
_globals['_GROUPKEYACTIONEVENT']._serialized_end=1898
|
|
70
|
+
_globals['_STEPACTIONEVENT']._serialized_start=1901
|
|
71
|
+
_globals['_STEPACTIONEVENT']._serialized_end=2225
|
|
72
|
+
_globals['_ACTIONEVENTRESPONSE']._serialized_start=2227
|
|
73
|
+
_globals['_ACTIONEVENTRESPONSE']._serialized_end=2284
|
|
74
|
+
_globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_start=2287
|
|
75
|
+
_globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_end=2479
|
|
76
|
+
_globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_start=2481
|
|
77
|
+
_globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_end=2536
|
|
78
|
+
_globals['_WORKFLOWEVENT']._serialized_start=2539
|
|
79
|
+
_globals['_WORKFLOWEVENT']._serialized_end=2845
|
|
80
|
+
_globals['_WORKFLOWRUNEVENT']._serialized_start=2848
|
|
81
|
+
_globals['_WORKFLOWRUNEVENT']._serialized_end=3016
|
|
82
|
+
_globals['_STEPRUNRESULT']._serialized_start=3019
|
|
83
|
+
_globals['_STEPRUNRESULT']._serialized_end=3157
|
|
84
|
+
_globals['_OVERRIDESDATA']._serialized_start=3159
|
|
85
|
+
_globals['_OVERRIDESDATA']._serialized_end=3246
|
|
86
|
+
_globals['_OVERRIDESDATARESPONSE']._serialized_start=3248
|
|
87
|
+
_globals['_OVERRIDESDATARESPONSE']._serialized_end=3271
|
|
88
|
+
_globals['_HEARTBEATREQUEST']._serialized_start=3273
|
|
89
|
+
_globals['_HEARTBEATREQUEST']._serialized_end=3358
|
|
90
|
+
_globals['_HEARTBEATRESPONSE']._serialized_start=3360
|
|
91
|
+
_globals['_HEARTBEATRESPONSE']._serialized_end=3379
|
|
92
|
+
_globals['_REFRESHTIMEOUTREQUEST']._serialized_start=3381
|
|
93
|
+
_globals['_REFRESHTIMEOUTREQUEST']._serialized_end=3451
|
|
94
|
+
_globals['_REFRESHTIMEOUTRESPONSE']._serialized_start=3453
|
|
95
|
+
_globals['_REFRESHTIMEOUTRESPONSE']._serialized_end=3524
|
|
96
|
+
_globals['_RELEASESLOTREQUEST']._serialized_start=3526
|
|
97
|
+
_globals['_RELEASESLOTREQUEST']._serialized_end=3565
|
|
98
|
+
_globals['_RELEASESLOTRESPONSE']._serialized_start=3567
|
|
99
|
+
_globals['_RELEASESLOTRESPONSE']._serialized_end=3588
|
|
100
|
+
_globals['_DISPATCHER']._serialized_start=4490
|
|
101
|
+
_globals['_DISPATCHER']._serialized_end=5378
|
|
102
102
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -163,7 +163,7 @@ class UpsertWorkerLabelsResponse(_message.Message):
|
|
|
163
163
|
def __init__(self, tenantId: _Optional[str] = ..., workerId: _Optional[str] = ...) -> None: ...
|
|
164
164
|
|
|
165
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")
|
|
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", "priority")
|
|
167
167
|
TENANTID_FIELD_NUMBER: _ClassVar[int]
|
|
168
168
|
WORKFLOWRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
169
169
|
GETGROUPKEYRUNID_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -181,6 +181,7 @@ class AssignedAction(_message.Message):
|
|
|
181
181
|
CHILD_WORKFLOW_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
182
182
|
CHILD_WORKFLOW_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
183
183
|
PARENT_WORKFLOW_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
184
|
+
PRIORITY_FIELD_NUMBER: _ClassVar[int]
|
|
184
185
|
tenantId: str
|
|
185
186
|
workflowRunId: str
|
|
186
187
|
getGroupKeyRunId: str
|
|
@@ -198,7 +199,8 @@ class AssignedAction(_message.Message):
|
|
|
198
199
|
child_workflow_index: int
|
|
199
200
|
child_workflow_key: str
|
|
200
201
|
parent_workflow_run_id: str
|
|
201
|
-
|
|
202
|
+
priority: int
|
|
203
|
+
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] = ..., priority: _Optional[int] = ...) -> None: ...
|
|
202
204
|
|
|
203
205
|
class WorkerListenRequest(_message.Message):
|
|
204
206
|
__slots__ = ("workerId",)
|
|
@@ -16,7 +16,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
16
16
|
from hatchet_sdk.contracts.v1.shared import condition_pb2 as v1_dot_shared_dot_condition__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12v1/workflows.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19v1/shared/condition.proto\"Z\n\x12\x43\x61ncelTasksRequest\x12\x13\n\x0b\x65xternalIds\x18\x01 \x03(\t\x12$\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x0f.v1.TasksFilterH\x00\x88\x01\x01\x42\t\n\x07_filter\"Z\n\x12ReplayTasksRequest\x12\x13\n\x0b\x65xternalIds\x18\x01 \x03(\t\x12$\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x0f.v1.TasksFilterH\x00\x88\x01\x01\x42\t\n\x07_filter\"\xb7\x01\n\x0bTasksFilter\x12\x10\n\x08statuses\x18\x01 \x03(\t\x12)\n\x05since\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x14\n\x0cworkflow_ids\x18\x04 \x03(\t\x12\x1b\n\x13\x61\x64\x64itional_metadata\x18\x05 \x03(\tB\x08\n\x06_until\".\n\x13\x43\x61ncelTasksResponse\x12\x17\n\x0f\x63\x61ncelled_tasks\x18\x01 \x03(\t\"-\n\x13ReplayTasksResponse\x12\x16\n\x0ereplayed_tasks\x18\x01 \x03(\t\"
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12v1/workflows.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19v1/shared/condition.proto\"Z\n\x12\x43\x61ncelTasksRequest\x12\x13\n\x0b\x65xternalIds\x18\x01 \x03(\t\x12$\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x0f.v1.TasksFilterH\x00\x88\x01\x01\x42\t\n\x07_filter\"Z\n\x12ReplayTasksRequest\x12\x13\n\x0b\x65xternalIds\x18\x01 \x03(\t\x12$\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x0f.v1.TasksFilterH\x00\x88\x01\x01\x42\t\n\x07_filter\"\xb7\x01\n\x0bTasksFilter\x12\x10\n\x08statuses\x18\x01 \x03(\t\x12)\n\x05since\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x14\n\x0cworkflow_ids\x18\x04 \x03(\t\x12\x1b\n\x13\x61\x64\x64itional_metadata\x18\x05 \x03(\tB\x08\n\x06_until\".\n\x13\x43\x61ncelTasksResponse\x12\x17\n\x0f\x63\x61ncelled_tasks\x18\x01 \x03(\t\"-\n\x13ReplayTasksResponse\x12\x16\n\x0ereplayed_tasks\x18\x01 \x03(\t\"\x82\x01\n\x19TriggerWorkflowRunRequest\x12\x15\n\rworkflow_name\x18\x01 \x01(\t\x12\r\n\x05input\x18\x02 \x01(\x0c\x12\x1b\n\x13\x61\x64\x64itional_metadata\x18\x03 \x01(\x0c\x12\x15\n\x08priority\x18\x04 \x01(\x05H\x00\x88\x01\x01\x42\x0b\n\t_priority\"1\n\x1aTriggerWorkflowRunResponse\x12\x13\n\x0b\x65xternal_id\x18\x01 \x01(\t\"\xa0\x03\n\x1c\x43reateWorkflowVersionRequest\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!\n\x05tasks\x18\x06 \x03(\x0b\x32\x12.v1.CreateTaskOpts\x12$\n\x0b\x63oncurrency\x18\x07 \x01(\x0b\x32\x0f.v1.Concurrency\x12\x17\n\ncron_input\x18\x08 \x01(\tH\x00\x88\x01\x01\x12\x30\n\x0fon_failure_task\x18\t \x01(\x0b\x32\x12.v1.CreateTaskOptsH\x01\x88\x01\x01\x12\'\n\x06sticky\x18\n \x01(\x0e\x32\x12.v1.StickyStrategyH\x02\x88\x01\x01\x12\x1d\n\x10\x64\x65\x66\x61ult_priority\x18\x0b \x01(\x05H\x03\x88\x01\x01\x42\r\n\x0b_cron_inputB\x12\n\x10_on_failure_taskB\t\n\x07_stickyB\x13\n\x11_default_priority\"\x93\x01\n\x0b\x43oncurrency\x12\x12\n\nexpression\x18\x01 \x01(\t\x12\x15\n\x08max_runs\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\x39\n\x0elimit_strategy\x18\x03 \x01(\x0e\x32\x1c.v1.ConcurrencyLimitStrategyH\x01\x88\x01\x01\x42\x0b\n\t_max_runsB\x11\n\x0f_limit_strategy\"\xe4\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\x32\n\ncomparator\x18\x04 \x01(\x0e\x32\x19.v1.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\"\xb1\x04\n\x0e\x43reateTaskOpts\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\x0f\n\x07retries\x18\x06 \x01(\x05\x12,\n\x0brate_limits\x18\x07 \x03(\x0b\x32\x17.v1.CreateTaskRateLimit\x12;\n\rworker_labels\x18\x08 \x03(\x0b\x32$.v1.CreateTaskOpts.WorkerLabelsEntry\x12\x1b\n\x0e\x62\x61\x63koff_factor\x18\t \x01(\x02H\x00\x88\x01\x01\x12 \n\x13\x62\x61\x63koff_max_seconds\x18\n \x01(\x05H\x01\x88\x01\x01\x12$\n\x0b\x63oncurrency\x18\x0b \x03(\x0b\x32\x0f.v1.Concurrency\x12+\n\nconditions\x18\x0c \x01(\x0b\x32\x12.v1.TaskConditionsH\x02\x88\x01\x01\x12\x1d\n\x10schedule_timeout\x18\r \x01(\tH\x03\x88\x01\x01\x1aL\n\x11WorkerLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.v1.DesiredWorkerLabels:\x02\x38\x01\x42\x11\n\x0f_backoff_factorB\x16\n\x14_backoff_max_secondsB\r\n\x0b_conditionsB\x13\n\x11_schedule_timeout\"\xfd\x01\n\x13\x43reateTaskRateLimit\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\x15.v1.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\"@\n\x1d\x43reateWorkflowVersionResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t*$\n\x0eStickyStrategy\x12\x08\n\x04SOFT\x10\x00\x12\x08\n\x04HARD\x10\x01*]\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*\x7f\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\x12\x11\n\rCANCEL_NEWEST\x10\x04*\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\x32\xb7\x02\n\x0c\x41\x64minService\x12R\n\x0bPutWorkflow\x12 .v1.CreateWorkflowVersionRequest\x1a!.v1.CreateWorkflowVersionResponse\x12>\n\x0b\x43\x61ncelTasks\x12\x16.v1.CancelTasksRequest\x1a\x17.v1.CancelTasksResponse\x12>\n\x0bReplayTasks\x12\x16.v1.ReplayTasksRequest\x1a\x17.v1.ReplayTasksResponse\x12S\n\x12TriggerWorkflowRun\x12\x1d.v1.TriggerWorkflowRunRequest\x1a\x1e.v1.TriggerWorkflowRunResponseBBZ@github.com/hatchet-dev/hatchet/internal/services/shared/proto/v1b\x06proto3')
|
|
20
20
|
|
|
21
21
|
_globals = globals()
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -26,14 +26,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
26
26
|
_globals['DESCRIPTOR']._serialized_options = b'Z@github.com/hatchet-dev/hatchet/internal/services/shared/proto/v1'
|
|
27
27
|
_globals['_CREATETASKOPTS_WORKERLABELSENTRY']._loaded_options = None
|
|
28
28
|
_globals['_CREATETASKOPTS_WORKERLABELSENTRY']._serialized_options = b'8\001'
|
|
29
|
-
_globals['_STICKYSTRATEGY']._serialized_start=
|
|
30
|
-
_globals['_STICKYSTRATEGY']._serialized_end=
|
|
31
|
-
_globals['_RATELIMITDURATION']._serialized_start=
|
|
32
|
-
_globals['_RATELIMITDURATION']._serialized_end=
|
|
33
|
-
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_start=
|
|
34
|
-
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_end=
|
|
35
|
-
_globals['_WORKERLABELCOMPARATOR']._serialized_start=
|
|
36
|
-
_globals['_WORKERLABELCOMPARATOR']._serialized_end=
|
|
29
|
+
_globals['_STICKYSTRATEGY']._serialized_start=2421
|
|
30
|
+
_globals['_STICKYSTRATEGY']._serialized_end=2457
|
|
31
|
+
_globals['_RATELIMITDURATION']._serialized_start=2459
|
|
32
|
+
_globals['_RATELIMITDURATION']._serialized_end=2552
|
|
33
|
+
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_start=2554
|
|
34
|
+
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_end=2681
|
|
35
|
+
_globals['_WORKERLABELCOMPARATOR']._serialized_start=2684
|
|
36
|
+
_globals['_WORKERLABELCOMPARATOR']._serialized_end=2817
|
|
37
37
|
_globals['_CANCELTASKSREQUEST']._serialized_start=86
|
|
38
38
|
_globals['_CANCELTASKSREQUEST']._serialized_end=176
|
|
39
39
|
_globals['_REPLAYTASKSREQUEST']._serialized_start=178
|
|
@@ -44,24 +44,24 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
44
|
_globals['_CANCELTASKSRESPONSE']._serialized_end=502
|
|
45
45
|
_globals['_REPLAYTASKSRESPONSE']._serialized_start=504
|
|
46
46
|
_globals['_REPLAYTASKSRESPONSE']._serialized_end=549
|
|
47
|
-
_globals['_TRIGGERWORKFLOWRUNREQUEST']._serialized_start=
|
|
48
|
-
_globals['_TRIGGERWORKFLOWRUNREQUEST']._serialized_end=
|
|
49
|
-
_globals['_TRIGGERWORKFLOWRUNRESPONSE']._serialized_start=
|
|
50
|
-
_globals['_TRIGGERWORKFLOWRUNRESPONSE']._serialized_end=
|
|
51
|
-
_globals['_CREATEWORKFLOWVERSIONREQUEST']._serialized_start=
|
|
52
|
-
_globals['_CREATEWORKFLOWVERSIONREQUEST']._serialized_end=
|
|
53
|
-
_globals['_CONCURRENCY']._serialized_start=
|
|
54
|
-
_globals['_CONCURRENCY']._serialized_end=
|
|
55
|
-
_globals['_DESIREDWORKERLABELS']._serialized_start=
|
|
56
|
-
_globals['_DESIREDWORKERLABELS']._serialized_end=
|
|
57
|
-
_globals['_CREATETASKOPTS']._serialized_start=
|
|
58
|
-
_globals['_CREATETASKOPTS']._serialized_end=
|
|
59
|
-
_globals['_CREATETASKOPTS_WORKERLABELSENTRY']._serialized_start=
|
|
60
|
-
_globals['_CREATETASKOPTS_WORKERLABELSENTRY']._serialized_end=
|
|
61
|
-
_globals['_CREATETASKRATELIMIT']._serialized_start=
|
|
62
|
-
_globals['_CREATETASKRATELIMIT']._serialized_end=
|
|
63
|
-
_globals['_CREATEWORKFLOWVERSIONRESPONSE']._serialized_start=
|
|
64
|
-
_globals['_CREATEWORKFLOWVERSIONRESPONSE']._serialized_end=
|
|
65
|
-
_globals['_ADMINSERVICE']._serialized_start=
|
|
66
|
-
_globals['_ADMINSERVICE']._serialized_end=
|
|
47
|
+
_globals['_TRIGGERWORKFLOWRUNREQUEST']._serialized_start=552
|
|
48
|
+
_globals['_TRIGGERWORKFLOWRUNREQUEST']._serialized_end=682
|
|
49
|
+
_globals['_TRIGGERWORKFLOWRUNRESPONSE']._serialized_start=684
|
|
50
|
+
_globals['_TRIGGERWORKFLOWRUNRESPONSE']._serialized_end=733
|
|
51
|
+
_globals['_CREATEWORKFLOWVERSIONREQUEST']._serialized_start=736
|
|
52
|
+
_globals['_CREATEWORKFLOWVERSIONREQUEST']._serialized_end=1152
|
|
53
|
+
_globals['_CONCURRENCY']._serialized_start=1155
|
|
54
|
+
_globals['_CONCURRENCY']._serialized_end=1302
|
|
55
|
+
_globals['_DESIREDWORKERLABELS']._serialized_start=1305
|
|
56
|
+
_globals['_DESIREDWORKERLABELS']._serialized_end=1533
|
|
57
|
+
_globals['_CREATETASKOPTS']._serialized_start=1536
|
|
58
|
+
_globals['_CREATETASKOPTS']._serialized_end=2097
|
|
59
|
+
_globals['_CREATETASKOPTS_WORKERLABELSENTRY']._serialized_start=1942
|
|
60
|
+
_globals['_CREATETASKOPTS_WORKERLABELSENTRY']._serialized_end=2018
|
|
61
|
+
_globals['_CREATETASKRATELIMIT']._serialized_start=2100
|
|
62
|
+
_globals['_CREATETASKRATELIMIT']._serialized_end=2353
|
|
63
|
+
_globals['_CREATEWORKFLOWVERSIONRESPONSE']._serialized_start=2355
|
|
64
|
+
_globals['_CREATEWORKFLOWVERSIONRESPONSE']._serialized_end=2419
|
|
65
|
+
_globals['_ADMINSERVICE']._serialized_start=2820
|
|
66
|
+
_globals['_ADMINSERVICE']._serialized_end=3131
|
|
67
67
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -103,14 +103,16 @@ class ReplayTasksResponse(_message.Message):
|
|
|
103
103
|
def __init__(self, replayed_tasks: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
104
104
|
|
|
105
105
|
class TriggerWorkflowRunRequest(_message.Message):
|
|
106
|
-
__slots__ = ("workflow_name", "input", "additional_metadata")
|
|
106
|
+
__slots__ = ("workflow_name", "input", "additional_metadata", "priority")
|
|
107
107
|
WORKFLOW_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
108
108
|
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
109
109
|
ADDITIONAL_METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
110
|
+
PRIORITY_FIELD_NUMBER: _ClassVar[int]
|
|
110
111
|
workflow_name: str
|
|
111
112
|
input: bytes
|
|
112
113
|
additional_metadata: bytes
|
|
113
|
-
|
|
114
|
+
priority: int
|
|
115
|
+
def __init__(self, workflow_name: _Optional[str] = ..., input: _Optional[bytes] = ..., additional_metadata: _Optional[bytes] = ..., priority: _Optional[int] = ...) -> None: ...
|
|
114
116
|
|
|
115
117
|
class TriggerWorkflowRunResponse(_message.Message):
|
|
116
118
|
__slots__ = ("external_id",)
|
|
@@ -119,7 +121,7 @@ class TriggerWorkflowRunResponse(_message.Message):
|
|
|
119
121
|
def __init__(self, external_id: _Optional[str] = ...) -> None: ...
|
|
120
122
|
|
|
121
123
|
class CreateWorkflowVersionRequest(_message.Message):
|
|
122
|
-
__slots__ = ("name", "description", "version", "event_triggers", "cron_triggers", "tasks", "concurrency", "cron_input", "on_failure_task", "sticky")
|
|
124
|
+
__slots__ = ("name", "description", "version", "event_triggers", "cron_triggers", "tasks", "concurrency", "cron_input", "on_failure_task", "sticky", "default_priority")
|
|
123
125
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
124
126
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
125
127
|
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -130,6 +132,7 @@ class CreateWorkflowVersionRequest(_message.Message):
|
|
|
130
132
|
CRON_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
131
133
|
ON_FAILURE_TASK_FIELD_NUMBER: _ClassVar[int]
|
|
132
134
|
STICKY_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
+
DEFAULT_PRIORITY_FIELD_NUMBER: _ClassVar[int]
|
|
133
136
|
name: str
|
|
134
137
|
description: str
|
|
135
138
|
version: str
|
|
@@ -140,7 +143,8 @@ class CreateWorkflowVersionRequest(_message.Message):
|
|
|
140
143
|
cron_input: str
|
|
141
144
|
on_failure_task: CreateTaskOpts
|
|
142
145
|
sticky: StickyStrategy
|
|
143
|
-
|
|
146
|
+
default_priority: int
|
|
147
|
+
def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., version: _Optional[str] = ..., event_triggers: _Optional[_Iterable[str]] = ..., cron_triggers: _Optional[_Iterable[str]] = ..., tasks: _Optional[_Iterable[_Union[CreateTaskOpts, _Mapping]]] = ..., concurrency: _Optional[_Union[Concurrency, _Mapping]] = ..., cron_input: _Optional[str] = ..., on_failure_task: _Optional[_Union[CreateTaskOpts, _Mapping]] = ..., sticky: _Optional[_Union[StickyStrategy, str]] = ..., default_priority: _Optional[int] = ...) -> None: ...
|
|
144
148
|
|
|
145
149
|
class Concurrency(_message.Message):
|
|
146
150
|
__slots__ = ("expression", "max_runs", "limit_strategy")
|
|
@@ -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\"\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\"\
|
|
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\"\xdf\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\x12\x10\n\x08priority\x18\t \x01(\x05\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*\x7f\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\x12\x11\n\rCANCEL_NEWEST\x10\x04*\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 not _descriptor._USE_C_DESCRIPTORS:
|
|
|
25
25
|
_globals['DESCRIPTOR']._serialized_options = b'Z@github.com/hatchet-dev/hatchet/internal/services/admin/contracts'
|
|
26
26
|
_globals['_CREATEWORKFLOWSTEPOPTS_WORKERLABELSENTRY']._loaded_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=3419
|
|
29
|
+
_globals['_STICKYSTRATEGY']._serialized_end=3455
|
|
30
|
+
_globals['_WORKFLOWKIND']._serialized_start=3457
|
|
31
|
+
_globals['_WORKFLOWKIND']._serialized_end=3507
|
|
32
|
+
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_start=3509
|
|
33
|
+
_globals['_CONCURRENCYLIMITSTRATEGY']._serialized_end=3636
|
|
34
|
+
_globals['_WORKERLABELCOMPARATOR']._serialized_start=3639
|
|
35
|
+
_globals['_WORKERLABELCOMPARATOR']._serialized_end=3772
|
|
36
|
+
_globals['_RATELIMITDURATION']._serialized_start=3774
|
|
37
|
+
_globals['_RATELIMITDURATION']._serialized_end=3867
|
|
38
38
|
_globals['_PUTWORKFLOWREQUEST']._serialized_start=52
|
|
39
39
|
_globals['_PUTWORKFLOWREQUEST']._serialized_end=114
|
|
40
40
|
_globals['_CREATEWORKFLOWVERSIONOPTS']._serialized_start=117
|
|
@@ -54,27 +54,27 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
54
54
|
_globals['_LISTWORKFLOWSREQUEST']._serialized_start=1932
|
|
55
55
|
_globals['_LISTWORKFLOWSREQUEST']._serialized_end=1954
|
|
56
56
|
_globals['_SCHEDULEWORKFLOWREQUEST']._serialized_start=1957
|
|
57
|
-
_globals['_SCHEDULEWORKFLOWREQUEST']._serialized_end=
|
|
58
|
-
_globals['_SCHEDULEDWORKFLOW']._serialized_start=
|
|
59
|
-
_globals['_SCHEDULEDWORKFLOW']._serialized_end=
|
|
60
|
-
_globals['_WORKFLOWVERSION']._serialized_start=
|
|
61
|
-
_globals['_WORKFLOWVERSION']._serialized_end=
|
|
62
|
-
_globals['_WORKFLOWTRIGGEREVENTREF']._serialized_start=
|
|
63
|
-
_globals['_WORKFLOWTRIGGEREVENTREF']._serialized_end=
|
|
64
|
-
_globals['_WORKFLOWTRIGGERCRONREF']._serialized_start=
|
|
65
|
-
_globals['_WORKFLOWTRIGGERCRONREF']._serialized_end=
|
|
66
|
-
_globals['_BULKTRIGGERWORKFLOWREQUEST']._serialized_start=
|
|
67
|
-
_globals['_BULKTRIGGERWORKFLOWREQUEST']._serialized_end=
|
|
68
|
-
_globals['_BULKTRIGGERWORKFLOWRESPONSE']._serialized_start=
|
|
69
|
-
_globals['_BULKTRIGGERWORKFLOWRESPONSE']._serialized_end=
|
|
70
|
-
_globals['_TRIGGERWORKFLOWREQUEST']._serialized_start=
|
|
71
|
-
_globals['_TRIGGERWORKFLOWREQUEST']._serialized_end=
|
|
72
|
-
_globals['_TRIGGERWORKFLOWRESPONSE']._serialized_start=
|
|
73
|
-
_globals['_TRIGGERWORKFLOWRESPONSE']._serialized_end=
|
|
74
|
-
_globals['_PUTRATELIMITREQUEST']._serialized_start=
|
|
75
|
-
_globals['_PUTRATELIMITREQUEST']._serialized_end=
|
|
76
|
-
_globals['_PUTRATELIMITRESPONSE']._serialized_start=
|
|
77
|
-
_globals['_PUTRATELIMITRESPONSE']._serialized_end=
|
|
78
|
-
_globals['_WORKFLOWSERVICE']._serialized_start=
|
|
79
|
-
_globals['_WORKFLOWSERVICE']._serialized_end=
|
|
57
|
+
_globals['_SCHEDULEWORKFLOWREQUEST']._serialized_end=2308
|
|
58
|
+
_globals['_SCHEDULEDWORKFLOW']._serialized_start=2310
|
|
59
|
+
_globals['_SCHEDULEDWORKFLOW']._serialized_end=2389
|
|
60
|
+
_globals['_WORKFLOWVERSION']._serialized_start=2392
|
|
61
|
+
_globals['_WORKFLOWVERSION']._serialized_end=2619
|
|
62
|
+
_globals['_WORKFLOWTRIGGEREVENTREF']._serialized_start=2621
|
|
63
|
+
_globals['_WORKFLOWTRIGGEREVENTREF']._serialized_end=2684
|
|
64
|
+
_globals['_WORKFLOWTRIGGERCRONREF']._serialized_start=2686
|
|
65
|
+
_globals['_WORKFLOWTRIGGERCRONREF']._serialized_end=2743
|
|
66
|
+
_globals['_BULKTRIGGERWORKFLOWREQUEST']._serialized_start=2745
|
|
67
|
+
_globals['_BULKTRIGGERWORKFLOWREQUEST']._serialized_end=2817
|
|
68
|
+
_globals['_BULKTRIGGERWORKFLOWRESPONSE']._serialized_start=2819
|
|
69
|
+
_globals['_BULKTRIGGERWORKFLOWRESPONSE']._serialized_end=2874
|
|
70
|
+
_globals['_TRIGGERWORKFLOWREQUEST']._serialized_start=2877
|
|
71
|
+
_globals['_TRIGGERWORKFLOWREQUEST']._serialized_end=3252
|
|
72
|
+
_globals['_TRIGGERWORKFLOWRESPONSE']._serialized_start=3254
|
|
73
|
+
_globals['_TRIGGERWORKFLOWRESPONSE']._serialized_end=3304
|
|
74
|
+
_globals['_PUTRATELIMITREQUEST']._serialized_start=3306
|
|
75
|
+
_globals['_PUTRATELIMITREQUEST']._serialized_end=3393
|
|
76
|
+
_globals['_PUTRATELIMITRESPONSE']._serialized_start=3395
|
|
77
|
+
_globals['_PUTRATELIMITRESPONSE']._serialized_end=3417
|
|
78
|
+
_globals['_WORKFLOWSERVICE']._serialized_start=3870
|
|
79
|
+
_globals['_WORKFLOWSERVICE']._serialized_end=4218
|
|
80
80
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -196,7 +196,7 @@ class ListWorkflowsRequest(_message.Message):
|
|
|
196
196
|
def __init__(self) -> None: ...
|
|
197
197
|
|
|
198
198
|
class ScheduleWorkflowRequest(_message.Message):
|
|
199
|
-
__slots__ = ("name", "schedules", "input", "parent_id", "parent_step_run_id", "child_index", "child_key", "additional_metadata")
|
|
199
|
+
__slots__ = ("name", "schedules", "input", "parent_id", "parent_step_run_id", "child_index", "child_key", "additional_metadata", "priority")
|
|
200
200
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
201
201
|
SCHEDULES_FIELD_NUMBER: _ClassVar[int]
|
|
202
202
|
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -205,6 +205,7 @@ class ScheduleWorkflowRequest(_message.Message):
|
|
|
205
205
|
CHILD_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
206
206
|
CHILD_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
207
207
|
ADDITIONAL_METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
208
|
+
PRIORITY_FIELD_NUMBER: _ClassVar[int]
|
|
208
209
|
name: str
|
|
209
210
|
schedules: _containers.RepeatedCompositeFieldContainer[_timestamp_pb2.Timestamp]
|
|
210
211
|
input: str
|
|
@@ -213,7 +214,8 @@ class ScheduleWorkflowRequest(_message.Message):
|
|
|
213
214
|
child_index: int
|
|
214
215
|
child_key: str
|
|
215
216
|
additional_metadata: str
|
|
216
|
-
|
|
217
|
+
priority: int
|
|
218
|
+
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] = ..., priority: _Optional[int] = ...) -> None: ...
|
|
217
219
|
|
|
218
220
|
class ScheduledWorkflow(_message.Message):
|
|
219
221
|
__slots__ = ("id", "trigger_at")
|
hatchet_sdk/features/cron.py
CHANGED
|
@@ -85,6 +85,7 @@ class CronClient(BaseRestClient):
|
|
|
85
85
|
expression: str,
|
|
86
86
|
input: JSONSerializableMapping,
|
|
87
87
|
additional_metadata: JSONSerializableMapping,
|
|
88
|
+
priority: int | None = None,
|
|
88
89
|
) -> CronWorkflows:
|
|
89
90
|
"""
|
|
90
91
|
Asynchronously creates a new workflow cron trigger.
|
|
@@ -112,6 +113,7 @@ class CronClient(BaseRestClient):
|
|
|
112
113
|
cronExpression=validated_input.expression,
|
|
113
114
|
input=dict(validated_input.input),
|
|
114
115
|
additionalMetadata=dict(validated_input.additional_metadata),
|
|
116
|
+
priority=priority,
|
|
115
117
|
),
|
|
116
118
|
)
|
|
117
119
|
|
|
@@ -122,6 +124,7 @@ class CronClient(BaseRestClient):
|
|
|
122
124
|
expression: str,
|
|
123
125
|
input: JSONSerializableMapping,
|
|
124
126
|
additional_metadata: JSONSerializableMapping,
|
|
127
|
+
priority: int | None = None,
|
|
125
128
|
) -> CronWorkflows:
|
|
126
129
|
return await asyncio.to_thread(
|
|
127
130
|
self.create,
|
|
@@ -130,6 +133,7 @@ class CronClient(BaseRestClient):
|
|
|
130
133
|
expression,
|
|
131
134
|
input,
|
|
132
135
|
additional_metadata,
|
|
136
|
+
priority,
|
|
133
137
|
)
|
|
134
138
|
|
|
135
139
|
def delete(self, cron_id: str) -> None:
|
hatchet_sdk/features/runs.py
CHANGED
|
@@ -175,6 +175,7 @@ class RunsClient(BaseRestClient):
|
|
|
175
175
|
workflow_name: str,
|
|
176
176
|
input: JSONSerializableMapping,
|
|
177
177
|
additional_metadata: JSONSerializableMapping = {},
|
|
178
|
+
priority: int | None = None,
|
|
178
179
|
) -> V1WorkflowRunDetails:
|
|
179
180
|
with self.client() as client:
|
|
180
181
|
return self._wra(client).v1_workflow_run_create(
|
|
@@ -183,6 +184,7 @@ class RunsClient(BaseRestClient):
|
|
|
183
184
|
workflowName=workflow_name,
|
|
184
185
|
input=dict(input),
|
|
185
186
|
additionalMetadata=dict(additional_metadata),
|
|
187
|
+
priority=priority,
|
|
186
188
|
),
|
|
187
189
|
)
|
|
188
190
|
|
|
@@ -191,9 +193,10 @@ class RunsClient(BaseRestClient):
|
|
|
191
193
|
workflow_name: str,
|
|
192
194
|
input: JSONSerializableMapping,
|
|
193
195
|
additional_metadata: JSONSerializableMapping = {},
|
|
196
|
+
priority: int | None = None,
|
|
194
197
|
) -> V1WorkflowRunDetails:
|
|
195
198
|
return await asyncio.to_thread(
|
|
196
|
-
self.create, workflow_name, input, additional_metadata
|
|
199
|
+
self.create, workflow_name, input, additional_metadata, priority
|
|
197
200
|
)
|
|
198
201
|
|
|
199
202
|
def replay(self, run_id: str) -> None:
|
hatchet_sdk/hatchet.py
CHANGED
hatchet_sdk/runnables/types.py
CHANGED
|
@@ -81,6 +81,7 @@ class WorkflowConfig(BaseModel):
|
|
|
81
81
|
sticky: StickyStrategy | None = None
|
|
82
82
|
concurrency: ConcurrencyExpression | None = None
|
|
83
83
|
input_validator: Type[BaseModel] = EmptyModel
|
|
84
|
+
default_priority: int | None = None
|
|
84
85
|
|
|
85
86
|
task_defaults: TaskDefaults = TaskDefaults()
|
|
86
87
|
|
|
@@ -149,6 +149,7 @@ class BaseWorkflow(Generic[TWorkflowInput]):
|
|
|
149
149
|
cron_input=None,
|
|
150
150
|
on_failure_task=on_failure_task,
|
|
151
151
|
sticky=convert_python_enum_to_proto(self.config.sticky, StickyStrategyProto), # type: ignore[arg-type]
|
|
152
|
+
default_priority=self.config.default_priority,
|
|
152
153
|
)
|
|
153
154
|
|
|
154
155
|
def _get_workflow_input(self, ctx: Context) -> TWorkflowInput:
|
|
@@ -324,6 +325,7 @@ class Workflow(BaseWorkflow[TWorkflowInput]):
|
|
|
324
325
|
expression: str,
|
|
325
326
|
input: TWorkflowInput = cast(TWorkflowInput, EmptyModel()),
|
|
326
327
|
additional_metadata: JSONSerializableMapping = {},
|
|
328
|
+
priority: int | None = None,
|
|
327
329
|
) -> CronWorkflows:
|
|
328
330
|
return self.client.cron.create(
|
|
329
331
|
workflow_name=self.config.name,
|
|
@@ -331,6 +333,7 @@ class Workflow(BaseWorkflow[TWorkflowInput]):
|
|
|
331
333
|
expression=expression,
|
|
332
334
|
input=self._serialize_input(input),
|
|
333
335
|
additional_metadata=additional_metadata,
|
|
336
|
+
priority=priority,
|
|
334
337
|
)
|
|
335
338
|
|
|
336
339
|
async def aio_create_cron(
|
|
@@ -339,6 +342,7 @@ class Workflow(BaseWorkflow[TWorkflowInput]):
|
|
|
339
342
|
expression: str,
|
|
340
343
|
input: TWorkflowInput = cast(TWorkflowInput, EmptyModel()),
|
|
341
344
|
additional_metadata: JSONSerializableMapping = {},
|
|
345
|
+
priority: int | None = None,
|
|
342
346
|
) -> CronWorkflows:
|
|
343
347
|
return await self.client.cron.aio_create(
|
|
344
348
|
workflow_name=self.config.name,
|
|
@@ -346,6 +350,7 @@ class Workflow(BaseWorkflow[TWorkflowInput]):
|
|
|
346
350
|
expression=expression,
|
|
347
351
|
input=self._serialize_input(input),
|
|
348
352
|
additional_metadata=additional_metadata,
|
|
353
|
+
priority=priority,
|
|
349
354
|
)
|
|
350
355
|
|
|
351
356
|
def _parse_task_name(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
hatchet_sdk/__init__.py,sha256=LUj6VyGVSHCYTQTaoyiVhjyJLOfv6gMCmb-s4hRyISM,10031
|
|
2
2
|
hatchet_sdk/client.py,sha256=tbOeMuaJmgpyYSQg8QUz_J4AdqRNvV9E0aEZpgsiZTE,2207
|
|
3
|
-
hatchet_sdk/clients/admin.py,sha256=
|
|
4
|
-
hatchet_sdk/clients/dispatcher/action_listener.py,sha256=
|
|
3
|
+
hatchet_sdk/clients/admin.py,sha256=zZKqjqjiq6_D2S5INuJBXdkyh5Owk65FMz6V6PC5Ta4,17692
|
|
4
|
+
hatchet_sdk/clients/dispatcher/action_listener.py,sha256=hQtSzuasK06Z7ORv2WBx5ts6xb84WobHardsEmz3III,16365
|
|
5
5
|
hatchet_sdk/clients/dispatcher/dispatcher.py,sha256=IL-hDXG8Lzas9FieVuNr47E_3Gvpc-aL4Xu_l385Vp8,8140
|
|
6
6
|
hatchet_sdk/clients/event_ts.py,sha256=OjYc_y1K3fNNZ7QLRJYBDnfgsyUVERkxofYldO4QVVs,1672
|
|
7
7
|
hatchet_sdk/clients/events.py,sha256=sKqzGwkrW_AKWW0Q_rxfwo9jXV5EUpLx7fTQvCNHaVo,5443
|
|
@@ -50,14 +50,14 @@ hatchet_sdk/clients/rest/models/cancel_step_run_request.py,sha256=m5dJHmn4umZ4Lc
|
|
|
50
50
|
hatchet_sdk/clients/rest/models/concurrency_limit_strategy.py,sha256=umtjz7m6P7_27oQDqZAQttmra5hfQ6lUrs7OtIqWoJE,810
|
|
51
51
|
hatchet_sdk/clients/rest/models/create_api_token_request.py,sha256=6VKaIG0rBLwkDCz6fS9_ORaCmTGGmYZx0hUPt8m5_Kg,2723
|
|
52
52
|
hatchet_sdk/clients/rest/models/create_api_token_response.py,sha256=vaHHrPYOV0Fs_6dXvE3cIPc-LJFumJDSnhEvJQmfU2s,2418
|
|
53
|
-
hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py,sha256=
|
|
53
|
+
hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py,sha256=9O4kInbm0k_hg83GniDCmynR7Kfbafl61mPOS0KxaNk,3096
|
|
54
54
|
hatchet_sdk/clients/rest/models/create_event_request.py,sha256=tl3YYgxw6h_j8WkVC0kLMX7arVkTfuPyD59W8_UukaU,2848
|
|
55
55
|
hatchet_sdk/clients/rest/models/create_pull_request_from_step_run.py,sha256=YWYBYcSukSsV2kho9ZuBpBiVA3PVtRNA_wP-RYT-doU,2453
|
|
56
56
|
hatchet_sdk/clients/rest/models/create_sns_integration_request.py,sha256=8xi59Xun0UGlNxJ7VuqHPAfqqH4takdtmZ673mK_6Og,2517
|
|
57
57
|
hatchet_sdk/clients/rest/models/create_tenant_alert_email_group_request.py,sha256=MgMDiPtElEiiZU6boYVkOl9nSkvP9bnFjUIzByEn7WM,2488
|
|
58
58
|
hatchet_sdk/clients/rest/models/create_tenant_invite_request.py,sha256=fVCrUaEcnKW8ekH4mPZpch1056i4tJVYHRyU9aDVuVE,2648
|
|
59
59
|
hatchet_sdk/clients/rest/models/create_tenant_request.py,sha256=zgYoNY6GSRbnx-EqBN903ry_XNyhdj87b7YMrAbkIFk,2511
|
|
60
|
-
hatchet_sdk/clients/rest/models/cron_workflows.py,sha256=
|
|
60
|
+
hatchet_sdk/clients/rest/models/cron_workflows.py,sha256=mHYhFHC-0NcA_sosCnYCqRiTYMvSbQQZiRCMTO4kgYc,4310
|
|
61
61
|
hatchet_sdk/clients/rest/models/cron_workflows_list.py,sha256=bLMycEajkleH0-8gGuqDAvZDparvQ4LRKa2sX3bxsG0,3495
|
|
62
62
|
hatchet_sdk/clients/rest/models/cron_workflows_method.py,sha256=zq05HHTwhf-D2kmhbf40ihYCDBihAeEMQEbr7DrtaoM,679
|
|
63
63
|
hatchet_sdk/clients/rest/models/cron_workflows_order_by_field.py,sha256=QUl9ZGi6htuqxEyZBizqDbaJz_rKRjqLL6-M4CsKTeg,703
|
|
@@ -103,9 +103,9 @@ hatchet_sdk/clients/rest/models/replay_event_request.py,sha256=7lgUhbzcoSTqq1X57
|
|
|
103
103
|
hatchet_sdk/clients/rest/models/replay_workflow_runs_request.py,sha256=sh-7aV71affZzVEyNsK4Ok4mkPy8upIbgxN_-xz-UM4,2537
|
|
104
104
|
hatchet_sdk/clients/rest/models/replay_workflow_runs_response.py,sha256=4LLv0CN6oZCJ9Rt0uUKE8W5ZTFrOpLDbD1O4l2aQxGg,3113
|
|
105
105
|
hatchet_sdk/clients/rest/models/rerun_step_run_request.py,sha256=-cMsZ1LWb4O4Y94uLK2HZk4OlMjrpPol2MYjHQ5mmdY,2355
|
|
106
|
-
hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py,sha256=
|
|
106
|
+
hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py,sha256=m5HF1xzDKFlmfjtiyhDoMbbF9pKPcsU1ajZ_bOK9zQE,2945
|
|
107
107
|
hatchet_sdk/clients/rest/models/scheduled_run_status.py,sha256=tB8Hxh3Q5Bn7UlBafQlQPdLAh5Nx7rH5yeH1J-glaNA,812
|
|
108
|
-
hatchet_sdk/clients/rest/models/scheduled_workflows.py,sha256=
|
|
108
|
+
hatchet_sdk/clients/rest/models/scheduled_workflows.py,sha256=I6Ai5JYLE3Cz91Mr_NDDNBwLYJ_ziEkSy_dh-WWOZtA,5181
|
|
109
109
|
hatchet_sdk/clients/rest/models/scheduled_workflows_list.py,sha256=Ck_QlVNOQ7cO5pwDEmNPWyrVfcnScu44rgvnIhkYQHk,3535
|
|
110
110
|
hatchet_sdk/clients/rest/models/scheduled_workflows_method.py,sha256=ENMSuyTGZEd3cxaQWqa0aQ1ThgflPAOKkEyiOZtlDfc,694
|
|
111
111
|
hatchet_sdk/clients/rest/models/scheduled_workflows_order_by_field.py,sha256=vl0OkXbPxU6qDplioxjwi6Ftiph7ynnr2wKMG4VZjs8,728
|
|
@@ -167,7 +167,7 @@ hatchet_sdk/clients/rest/models/v1_task_run_status.py,sha256=tjipWHHNx7g4lUZBdu_
|
|
|
167
167
|
hatchet_sdk/clients/rest/models/v1_task_status.py,sha256=4Hqczjth228k8Y23vIaxAIzTpLaS9mh9I0PrTjY8JRY,742
|
|
168
168
|
hatchet_sdk/clients/rest/models/v1_task_summary.py,sha256=GbHZN4fCkysTgfZKjaaWS-8bAFwgX7l5u4hAKLhDlw4,8371
|
|
169
169
|
hatchet_sdk/clients/rest/models/v1_task_summary_list.py,sha256=0m-xf_lY9BwwbLky9i6fkTYUwh2K9mADHVZoRyF66o4,3510
|
|
170
|
-
hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py,sha256=
|
|
170
|
+
hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py,sha256=P-dC3O7dPr6mGJ2UZYcl3lSQoxKcX-GlYOiWkmNRMj0,3080
|
|
171
171
|
hatchet_sdk/clients/rest/models/v1_workflow_run.py,sha256=0kgHJ35XjXgNfaJfb1p0KLS1Jw6VAMeMYSdts8EvuYc,5895
|
|
172
172
|
hatchet_sdk/clients/rest/models/v1_workflow_run_details.py,sha256=vMnc50mT-tjfFlg2BJ58s2HhFvqvuGJaPGYAlTrLVI4,5040
|
|
173
173
|
hatchet_sdk/clients/rest/models/v1_workflow_run_display_name.py,sha256=0r6ASZvs6zUzW-YcJGbhkV_cs6N7jl-5l7f_LLgvBVY,2982
|
|
@@ -203,7 +203,7 @@ hatchet_sdk/clients/rest/models/workflow_run_shape_item_for_workflow_run_details
|
|
|
203
203
|
hatchet_sdk/clients/rest/models/workflow_run_status.py,sha256=X_jDDvq3GhjTNvdGy_NXUVNlUiIFrwbsQTw9kG_7YPs,805
|
|
204
204
|
hatchet_sdk/clients/rest/models/workflow_run_triggered_by.py,sha256=j6Ob3ICDL2wqZuFE2Bu1wuusH75HPwH0S53xpjQaRHY,3545
|
|
205
205
|
hatchet_sdk/clients/rest/models/workflow_runs_cancel_request.py,sha256=57o2jz6LN3PB2gi2SH_PBmyyhg5_94uNx2Shv_EpiSE,2537
|
|
206
|
-
hatchet_sdk/clients/rest/models/workflow_runs_metrics.py,sha256=
|
|
206
|
+
hatchet_sdk/clients/rest/models/workflow_runs_metrics.py,sha256=7CfcXlvHNny8Q496CR6iW_DBjyefgN4NZ3QhH8IhX3k,2865
|
|
207
207
|
hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py,sha256=8pe_pI8UXe0YeMaOTRwrog3_Gq1z0LR2kLtq9hwS28g,3217
|
|
208
208
|
hatchet_sdk/clients/rest/models/workflow_tag.py,sha256=9aPXHeUYW6FV-6dB-I5Ex0P5g82YNePEuy8-VG5Ecrs,2494
|
|
209
209
|
hatchet_sdk/clients/rest/models/workflow_trigger_cron_ref.py,sha256=_6r0laWazB6r_eC1Sc7RZOYACWzhnItasKkMtkqu4Eg,2498
|
|
@@ -221,10 +221,10 @@ hatchet_sdk/clients/v1/api_client.py,sha256=mJQUZ3cOxlFJiwWKK5F8jBxcpNZ7A2292Huc
|
|
|
221
221
|
hatchet_sdk/config.py,sha256=jJA76BOvVdfOQHy6TKclAvr2qyblcM-Pz5J-hVAdpQ4,3588
|
|
222
222
|
hatchet_sdk/connection.py,sha256=B5gT5NL9BBB5-l9U_cN6pMlraQk880rEYMnqaK_dgL0,2590
|
|
223
223
|
hatchet_sdk/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
224
|
-
hatchet_sdk/context/context.py,sha256=
|
|
224
|
+
hatchet_sdk/context/context.py,sha256=EH7gCJtizMae06bu-pHDFaxYE2n8VkEQTPgFTveKGfA,9425
|
|
225
225
|
hatchet_sdk/context/worker_context.py,sha256=OVcEWvdT_Kpd0nlg61VAPUgIPSFzSLs0aSrXWj-1GX4,974
|
|
226
|
-
hatchet_sdk/contracts/dispatcher_pb2.py,sha256=
|
|
227
|
-
hatchet_sdk/contracts/dispatcher_pb2.pyi,sha256=
|
|
226
|
+
hatchet_sdk/contracts/dispatcher_pb2.py,sha256=wO-x-NiHjMuC55RArpcvQX7QAjpSrjq1n70mFVwOD0Q,14543
|
|
227
|
+
hatchet_sdk/contracts/dispatcher_pb2.pyi,sha256=iOcGfGtoyvmT58yCrQDvst_o0VPbq1-9rir-0jH_140,18559
|
|
228
228
|
hatchet_sdk/contracts/dispatcher_pb2_grpc.py,sha256=zJ4c0Z0-iJngrVEw51vmwQgP1c8aZhAkjcUJUpH6JQ0,24756
|
|
229
229
|
hatchet_sdk/contracts/events_pb2.py,sha256=sda_dHK2N7g8kmaZSNqfvUSvHaa-ro9IBw0Diu1PCE4,4074
|
|
230
230
|
hatchet_sdk/contracts/events_pb2.pyi,sha256=eoHvNI5gY98ZfFleiynbtIz3SiW_X49ggMBOlOgAP74,4014
|
|
@@ -235,22 +235,22 @@ hatchet_sdk/contracts/v1/dispatcher_pb2_grpc.py,sha256=alnJTOJmf9AWr5qvqX0ivqEm1
|
|
|
235
235
|
hatchet_sdk/contracts/v1/shared/condition_pb2.py,sha256=dLBp9p48xEgDIOUU3lWn9wb5HWlQShaMp-1-_OAbKZY,3194
|
|
236
236
|
hatchet_sdk/contracts/v1/shared/condition_pb2.pyi,sha256=OZrUydy3wmHIoZjUQ5wrVTEaayTQlIZhfwJ8KyS26t8,3873
|
|
237
237
|
hatchet_sdk/contracts/v1/shared/condition_pb2_grpc.py,sha256=-LQAfCTGRcj81g8ij2CUeuBDNKHTO3JojkByh3ay0QY,1136
|
|
238
|
-
hatchet_sdk/contracts/v1/workflows_pb2.py,sha256
|
|
239
|
-
hatchet_sdk/contracts/v1/workflows_pb2.pyi,sha256=
|
|
238
|
+
hatchet_sdk/contracts/v1/workflows_pb2.py,sha256=-WmSfGLGEPcKRZlFOS0F8O8iVYVH8u8nPL-ZvTpsl6w,9095
|
|
239
|
+
hatchet_sdk/contracts/v1/workflows_pb2.pyi,sha256=JGXrphUDfa6dK1HSpK6RQHYXJBIc9WEpsnJtHzxYn4I,11821
|
|
240
240
|
hatchet_sdk/contracts/v1/workflows_pb2_grpc.py,sha256=XytYpV2kJQZT8iAs14z4SWsv-90ApfoFUEc8bRb5WHk,9299
|
|
241
|
-
hatchet_sdk/contracts/workflows_pb2.py,sha256=
|
|
242
|
-
hatchet_sdk/contracts/workflows_pb2.pyi,sha256=
|
|
241
|
+
hatchet_sdk/contracts/workflows_pb2.py,sha256=KmVokV_t75u_4voYFLlPRC-UAQeDNUG5u5_jerffSzM,11777
|
|
242
|
+
hatchet_sdk/contracts/workflows_pb2.pyi,sha256=WJ3b45pWvoNmmWTWjBJt61IiAoVn61F62AG5OrRsnd8,15538
|
|
243
243
|
hatchet_sdk/contracts/workflows_pb2_grpc.py,sha256=2V8E72DlJx5qlH2yiQpVCu5cQbKUba5X7T1yNrQDF_s,10819
|
|
244
244
|
hatchet_sdk/exceptions.py,sha256=HGmYSZy3bCY2rBDEOQfhYGRa7_j9GvYT9Pc0B8Ic5Ug,49
|
|
245
|
-
hatchet_sdk/features/cron.py,sha256=
|
|
245
|
+
hatchet_sdk/features/cron.py,sha256=sIbfDTvcq7P7Pkqd1-0ZPQQFnVkjAxV6DhpL28FvglQ,9267
|
|
246
246
|
hatchet_sdk/features/logs.py,sha256=LxyXsedewyiVhSFfGvDYxOA8FzTp8evKk8jeaonbwXo,674
|
|
247
247
|
hatchet_sdk/features/metrics.py,sha256=Rw6J2u-2sfb6p7dhcCJerrD2q62LZqaStJj0WvISGDY,2823
|
|
248
248
|
hatchet_sdk/features/rate_limits.py,sha256=Df-DBFRpT1MHRf7qcvD4YJseNuFJUp5X9aO72yLkW6Q,1521
|
|
249
|
-
hatchet_sdk/features/runs.py,sha256=
|
|
249
|
+
hatchet_sdk/features/runs.py,sha256=3EPihnW2jnbITiOz8DWmCK7AaYqYH_MxFMQM9FXTlh4,9212
|
|
250
250
|
hatchet_sdk/features/scheduled.py,sha256=1_GMP7jSC9UCFFWLVES5HtTGQInQd9cJeqJDhq0Hnmg,8813
|
|
251
251
|
hatchet_sdk/features/workers.py,sha256=fG8zoRXMm-lNNdNfeovKKpmJ0RzjZd6CIq_dVsu-ih0,1515
|
|
252
252
|
hatchet_sdk/features/workflows.py,sha256=x1Z_HZM_ZQZbWZhOfzJaEiPfRNSn6YX3IaTmFZ5D7MY,2069
|
|
253
|
-
hatchet_sdk/hatchet.py,sha256=
|
|
253
|
+
hatchet_sdk/hatchet.py,sha256=cuq7is5DobT2TOX2Kh897FwIOtVzDz7Z9Y1Lbw1hj8w,23197
|
|
254
254
|
hatchet_sdk/labels.py,sha256=nATgxWE3lFxRTnfISEpoIRLGbMfAZsHF4lZTuG4Mfic,182
|
|
255
255
|
hatchet_sdk/logger.py,sha256=5uOr52T4mImSQm1QvWT8HvZFK5WfPNh3Y1cBQZRFgUQ,333
|
|
256
256
|
hatchet_sdk/metadata.py,sha256=XkRbhnghJJGCdVvF-uzyGBcNaTqpeQ3uiQvNNP1wyBc,107
|
|
@@ -260,8 +260,8 @@ hatchet_sdk/rate_limit.py,sha256=TwbCuggiZaWpYuo4mjVLlE-z1OfQ2mRBiVvCSaG3lv4,391
|
|
|
260
260
|
hatchet_sdk/runnables/contextvars.py,sha256=6MDocAMmlyiRW37oQ1jyx10tAlJs-xgDjR3xPoPz05g,426
|
|
261
261
|
hatchet_sdk/runnables/standalone.py,sha256=KyKA3UeuyU_IK0t-c0Q56Lm-W4rewILkfHlenjos474,6276
|
|
262
262
|
hatchet_sdk/runnables/task.py,sha256=nZPclBbNaYRMlCLOYi91YU503MiTcGSp92Unh3_nKvs,7533
|
|
263
|
-
hatchet_sdk/runnables/types.py,sha256=
|
|
264
|
-
hatchet_sdk/runnables/workflow.py,sha256=
|
|
263
|
+
hatchet_sdk/runnables/types.py,sha256=IQe1KEwzD5Jb--FttMtUt6E60nkwaE-CxXHQHg6tFk0,4540
|
|
264
|
+
hatchet_sdk/runnables/workflow.py,sha256=9lND760f6cj0Hg2vCwIn-PG70wh-Aiqsko52qX67k_I,27966
|
|
265
265
|
hatchet_sdk/token.py,sha256=KjIiInwG5Kqd_FO4BSW1x_5Uc7PFbnzIVJqr50-ZldE,779
|
|
266
266
|
hatchet_sdk/utils/backoff.py,sha256=6B5Rb5nLKw_TqqgpJMYjIBV1PTTtbOMRZCveisVhg_I,353
|
|
267
267
|
hatchet_sdk/utils/proto_enums.py,sha256=0UybwE3s7TcqmzoQSO8YnhgAKOS8WZXsyPchB8-eksw,1247
|
|
@@ -506,7 +506,7 @@ hatchet_sdk/worker/runner/runner.py,sha256=J-gTpoYF9WphB1zZhpPJryCv10VjU-MiCdJgM
|
|
|
506
506
|
hatchet_sdk/worker/runner/utils/capture_logs.py,sha256=nHRPSiDBqzhObM7i2X7t03OupVFnE7kQBdR2Ckgg-2w,2709
|
|
507
507
|
hatchet_sdk/worker/worker.py,sha256=m11u3QPyAqXJpF6Y3lTUEVqTKdIigGKTXTymNPqq6hw,16149
|
|
508
508
|
hatchet_sdk/workflow_run.py,sha256=ZwH0HLFGFVXz6jbiqSv4w0Om2XuR52Tzzw6LH4y65jQ,2765
|
|
509
|
-
hatchet_sdk-1.
|
|
510
|
-
hatchet_sdk-1.
|
|
511
|
-
hatchet_sdk-1.
|
|
512
|
-
hatchet_sdk-1.
|
|
509
|
+
hatchet_sdk-1.5.0.dist-info/METADATA,sha256=4eU8rdBQv75eD8gipV72wrzwNBhL1S3nZcF8NOMHH3w,3635
|
|
510
|
+
hatchet_sdk-1.5.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
511
|
+
hatchet_sdk-1.5.0.dist-info/entry_points.txt,sha256=uYc-ivF7fUATjrWnwHP32ojgMCmogIs6yFOU8lEA4mk,1276
|
|
512
|
+
hatchet_sdk-1.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|