hatchet-sdk 1.16.3__py3-none-any.whl → 1.16.5__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/rest/__init__.py +32 -0
- hatchet_sdk/clients/rest/api/__init__.py +1 -0
- hatchet_sdk/clients/rest/api/webhook_api.py +1551 -0
- hatchet_sdk/clients/rest/models/__init__.py +31 -0
- hatchet_sdk/clients/rest/models/v1_create_webhook_request.py +215 -0
- hatchet_sdk/clients/rest/models/v1_create_webhook_request_api_key.py +126 -0
- hatchet_sdk/clients/rest/models/v1_create_webhook_request_api_key_all_of_auth_type.py +82 -0
- hatchet_sdk/clients/rest/models/v1_create_webhook_request_base.py +98 -0
- hatchet_sdk/clients/rest/models/v1_create_webhook_request_basic_auth.py +126 -0
- hatchet_sdk/clients/rest/models/v1_create_webhook_request_basic_auth_all_of_auth_type.py +82 -0
- hatchet_sdk/clients/rest/models/v1_create_webhook_request_hmac.py +126 -0
- hatchet_sdk/clients/rest/models/v1_create_webhook_request_hmac_all_of_auth_type.py +82 -0
- hatchet_sdk/clients/rest/models/v1_event.py +7 -0
- hatchet_sdk/clients/rest/models/v1_webhook.py +126 -0
- hatchet_sdk/clients/rest/models/v1_webhook_api_key_auth.py +90 -0
- hatchet_sdk/clients/rest/models/v1_webhook_auth_type.py +38 -0
- hatchet_sdk/clients/rest/models/v1_webhook_basic_auth.py +86 -0
- hatchet_sdk/clients/rest/models/v1_webhook_hmac_algorithm.py +39 -0
- hatchet_sdk/clients/rest/models/v1_webhook_hmac_auth.py +115 -0
- hatchet_sdk/clients/rest/models/v1_webhook_hmac_encoding.py +38 -0
- hatchet_sdk/clients/rest/models/v1_webhook_list.py +110 -0
- hatchet_sdk/clients/rest/models/v1_webhook_receive200_response.py +83 -0
- hatchet_sdk/clients/rest/models/v1_webhook_source_name.py +38 -0
- hatchet_sdk/config.py +1 -0
- hatchet_sdk/connection.py +6 -1
- hatchet_sdk/runnables/types.py +2 -2
- {hatchet_sdk-1.16.3.dist-info → hatchet_sdk-1.16.5.dist-info}/METADATA +2 -2
- {hatchet_sdk-1.16.3.dist-info → hatchet_sdk-1.16.5.dist-info}/RECORD +30 -11
- {hatchet_sdk-1.16.3.dist-info → hatchet_sdk-1.16.5.dist-info}/WHEEL +0 -0
- {hatchet_sdk-1.16.3.dist-info → hatchet_sdk-1.16.5.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Hatchet API
|
|
5
|
+
|
|
6
|
+
The Hatchet API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
17
|
+
import json
|
|
18
|
+
import pprint
|
|
19
|
+
import re # noqa: F401
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
|
+
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
from hatchet_sdk.clients.rest.models.v1_webhook_hmac_algorithm import (
|
|
26
|
+
V1WebhookHMACAlgorithm,
|
|
27
|
+
)
|
|
28
|
+
from hatchet_sdk.clients.rest.models.v1_webhook_hmac_encoding import (
|
|
29
|
+
V1WebhookHMACEncoding,
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class V1WebhookHMACAuth(BaseModel):
|
|
34
|
+
"""
|
|
35
|
+
V1WebhookHMACAuth
|
|
36
|
+
""" # noqa: E501
|
|
37
|
+
|
|
38
|
+
algorithm: V1WebhookHMACAlgorithm = Field(
|
|
39
|
+
description="The HMAC algorithm to use for the webhook"
|
|
40
|
+
)
|
|
41
|
+
encoding: V1WebhookHMACEncoding = Field(
|
|
42
|
+
description="The encoding to use for the HMAC signature"
|
|
43
|
+
)
|
|
44
|
+
signature_header_name: StrictStr = Field(
|
|
45
|
+
description="The name of the header to use for the HMAC signature",
|
|
46
|
+
alias="signatureHeaderName",
|
|
47
|
+
)
|
|
48
|
+
signing_secret: StrictStr = Field(
|
|
49
|
+
description="The secret key used to sign the HMAC signature",
|
|
50
|
+
alias="signingSecret",
|
|
51
|
+
)
|
|
52
|
+
__properties: ClassVar[List[str]] = [
|
|
53
|
+
"algorithm",
|
|
54
|
+
"encoding",
|
|
55
|
+
"signatureHeaderName",
|
|
56
|
+
"signingSecret",
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
model_config = ConfigDict(
|
|
60
|
+
populate_by_name=True,
|
|
61
|
+
validate_assignment=True,
|
|
62
|
+
protected_namespaces=(),
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
def to_str(self) -> str:
|
|
66
|
+
"""Returns the string representation of the model using alias"""
|
|
67
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
68
|
+
|
|
69
|
+
def to_json(self) -> str:
|
|
70
|
+
"""Returns the JSON representation of the model using alias"""
|
|
71
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
72
|
+
return json.dumps(self.to_dict())
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of V1WebhookHMACAuth from a JSON string"""
|
|
77
|
+
return cls.from_dict(json.loads(json_str))
|
|
78
|
+
|
|
79
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
80
|
+
"""Return the dictionary representation of the model using alias.
|
|
81
|
+
|
|
82
|
+
This has the following differences from calling pydantic's
|
|
83
|
+
`self.model_dump(by_alias=True)`:
|
|
84
|
+
|
|
85
|
+
* `None` is only added to the output dict for nullable fields that
|
|
86
|
+
were set at model initialization. Other fields with value `None`
|
|
87
|
+
are ignored.
|
|
88
|
+
"""
|
|
89
|
+
excluded_fields: Set[str] = set([])
|
|
90
|
+
|
|
91
|
+
_dict = self.model_dump(
|
|
92
|
+
by_alias=True,
|
|
93
|
+
exclude=excluded_fields,
|
|
94
|
+
exclude_none=True,
|
|
95
|
+
)
|
|
96
|
+
return _dict
|
|
97
|
+
|
|
98
|
+
@classmethod
|
|
99
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
100
|
+
"""Create an instance of V1WebhookHMACAuth from a dict"""
|
|
101
|
+
if obj is None:
|
|
102
|
+
return None
|
|
103
|
+
|
|
104
|
+
if not isinstance(obj, dict):
|
|
105
|
+
return cls.model_validate(obj)
|
|
106
|
+
|
|
107
|
+
_obj = cls.model_validate(
|
|
108
|
+
{
|
|
109
|
+
"algorithm": obj.get("algorithm"),
|
|
110
|
+
"encoding": obj.get("encoding"),
|
|
111
|
+
"signatureHeaderName": obj.get("signatureHeaderName"),
|
|
112
|
+
"signingSecret": obj.get("signingSecret"),
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
return _obj
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Hatchet API
|
|
5
|
+
|
|
6
|
+
The Hatchet API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
17
|
+
import json
|
|
18
|
+
from enum import Enum
|
|
19
|
+
|
|
20
|
+
from typing_extensions import Self
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class V1WebhookHMACEncoding(str, Enum):
|
|
24
|
+
"""
|
|
25
|
+
V1WebhookHMACEncoding
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
allowed enum values
|
|
30
|
+
"""
|
|
31
|
+
HEX = "HEX"
|
|
32
|
+
BASE64 = "BASE64"
|
|
33
|
+
BASE64URL = "BASE64URL"
|
|
34
|
+
|
|
35
|
+
@classmethod
|
|
36
|
+
def from_json(cls, json_str: str) -> Self:
|
|
37
|
+
"""Create an instance of V1WebhookHMACEncoding from a JSON string"""
|
|
38
|
+
return cls(json.loads(json_str))
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Hatchet API
|
|
5
|
+
|
|
6
|
+
The Hatchet API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
17
|
+
import json
|
|
18
|
+
import pprint
|
|
19
|
+
import re # noqa: F401
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
|
+
|
|
22
|
+
from pydantic import BaseModel, ConfigDict
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
from hatchet_sdk.clients.rest.models.pagination_response import PaginationResponse
|
|
26
|
+
from hatchet_sdk.clients.rest.models.v1_webhook import V1Webhook
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class V1WebhookList(BaseModel):
|
|
30
|
+
"""
|
|
31
|
+
V1WebhookList
|
|
32
|
+
""" # noqa: E501
|
|
33
|
+
|
|
34
|
+
pagination: Optional[PaginationResponse] = None
|
|
35
|
+
rows: Optional[List[V1Webhook]] = None
|
|
36
|
+
__properties: ClassVar[List[str]] = ["pagination", "rows"]
|
|
37
|
+
|
|
38
|
+
model_config = ConfigDict(
|
|
39
|
+
populate_by_name=True,
|
|
40
|
+
validate_assignment=True,
|
|
41
|
+
protected_namespaces=(),
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
def to_str(self) -> str:
|
|
45
|
+
"""Returns the string representation of the model using alias"""
|
|
46
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
47
|
+
|
|
48
|
+
def to_json(self) -> str:
|
|
49
|
+
"""Returns the JSON representation of the model using alias"""
|
|
50
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
51
|
+
return json.dumps(self.to_dict())
|
|
52
|
+
|
|
53
|
+
@classmethod
|
|
54
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
55
|
+
"""Create an instance of V1WebhookList from a JSON string"""
|
|
56
|
+
return cls.from_dict(json.loads(json_str))
|
|
57
|
+
|
|
58
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
59
|
+
"""Return the dictionary representation of the model using alias.
|
|
60
|
+
|
|
61
|
+
This has the following differences from calling pydantic's
|
|
62
|
+
`self.model_dump(by_alias=True)`:
|
|
63
|
+
|
|
64
|
+
* `None` is only added to the output dict for nullable fields that
|
|
65
|
+
were set at model initialization. Other fields with value `None`
|
|
66
|
+
are ignored.
|
|
67
|
+
"""
|
|
68
|
+
excluded_fields: Set[str] = set([])
|
|
69
|
+
|
|
70
|
+
_dict = self.model_dump(
|
|
71
|
+
by_alias=True,
|
|
72
|
+
exclude=excluded_fields,
|
|
73
|
+
exclude_none=True,
|
|
74
|
+
)
|
|
75
|
+
# override the default output from pydantic by calling `to_dict()` of pagination
|
|
76
|
+
if self.pagination:
|
|
77
|
+
_dict["pagination"] = self.pagination.to_dict()
|
|
78
|
+
# override the default output from pydantic by calling `to_dict()` of each item in rows (list)
|
|
79
|
+
_items = []
|
|
80
|
+
if self.rows:
|
|
81
|
+
for _item_rows in self.rows:
|
|
82
|
+
if _item_rows:
|
|
83
|
+
_items.append(_item_rows.to_dict())
|
|
84
|
+
_dict["rows"] = _items
|
|
85
|
+
return _dict
|
|
86
|
+
|
|
87
|
+
@classmethod
|
|
88
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
89
|
+
"""Create an instance of V1WebhookList from a dict"""
|
|
90
|
+
if obj is None:
|
|
91
|
+
return None
|
|
92
|
+
|
|
93
|
+
if not isinstance(obj, dict):
|
|
94
|
+
return cls.model_validate(obj)
|
|
95
|
+
|
|
96
|
+
_obj = cls.model_validate(
|
|
97
|
+
{
|
|
98
|
+
"pagination": (
|
|
99
|
+
PaginationResponse.from_dict(obj["pagination"])
|
|
100
|
+
if obj.get("pagination") is not None
|
|
101
|
+
else None
|
|
102
|
+
),
|
|
103
|
+
"rows": (
|
|
104
|
+
[V1Webhook.from_dict(_item) for _item in obj["rows"]]
|
|
105
|
+
if obj.get("rows") is not None
|
|
106
|
+
else None
|
|
107
|
+
),
|
|
108
|
+
}
|
|
109
|
+
)
|
|
110
|
+
return _obj
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Hatchet API
|
|
5
|
+
|
|
6
|
+
The Hatchet API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
17
|
+
import json
|
|
18
|
+
import pprint
|
|
19
|
+
import re # noqa: F401
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
|
+
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class V1WebhookReceive200Response(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
V1WebhookReceive200Response
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
|
|
31
|
+
message: Optional[StrictStr] = None
|
|
32
|
+
__properties: ClassVar[List[str]] = ["message"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of V1WebhookReceive200Response from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([])
|
|
65
|
+
|
|
66
|
+
_dict = self.model_dump(
|
|
67
|
+
by_alias=True,
|
|
68
|
+
exclude=excluded_fields,
|
|
69
|
+
exclude_none=True,
|
|
70
|
+
)
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
75
|
+
"""Create an instance of V1WebhookReceive200Response from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return cls.model_validate(obj)
|
|
81
|
+
|
|
82
|
+
_obj = cls.model_validate({"message": obj.get("message")})
|
|
83
|
+
return _obj
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Hatchet API
|
|
5
|
+
|
|
6
|
+
The Hatchet API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
17
|
+
import json
|
|
18
|
+
from enum import Enum
|
|
19
|
+
|
|
20
|
+
from typing_extensions import Self
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class V1WebhookSourceName(str, Enum):
|
|
24
|
+
"""
|
|
25
|
+
V1WebhookSourceName
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
allowed enum values
|
|
30
|
+
"""
|
|
31
|
+
GENERIC = "GENERIC"
|
|
32
|
+
GITHUB = "GITHUB"
|
|
33
|
+
STRIPE = "STRIPE"
|
|
34
|
+
|
|
35
|
+
@classmethod
|
|
36
|
+
def from_json(cls, json_str: str) -> Self:
|
|
37
|
+
"""Create an instance of V1WebhookSourceName from a JSON string"""
|
|
38
|
+
return cls(json.loads(json_str))
|
hatchet_sdk/config.py
CHANGED
|
@@ -84,6 +84,7 @@ class ClientConfig(BaseSettings):
|
|
|
84
84
|
|
|
85
85
|
terminate_worker_after_num_tasks: int | None = None
|
|
86
86
|
disable_log_capture: bool = False
|
|
87
|
+
grpc_enable_fork_support: bool = False
|
|
87
88
|
|
|
88
89
|
@model_validator(mode="after")
|
|
89
90
|
def validate_token_and_tenant(self) -> "ClientConfig":
|
hatchet_sdk/connection.py
CHANGED
|
@@ -60,7 +60,12 @@ def new_conn(config: ClientConfig, aio: bool) -> grpc.Channel | grpc.aio.Channel
|
|
|
60
60
|
|
|
61
61
|
# Set environment variable to disable fork support. Reference: https://github.com/grpc/grpc/issues/28557
|
|
62
62
|
# When steps execute via os.fork, we see `TSI_DATA_CORRUPTED` errors.
|
|
63
|
-
|
|
63
|
+
# needs to be the string "True" or "False"
|
|
64
|
+
os.environ["GRPC_ENABLE_FORK_SUPPORT"] = str(config.grpc_enable_fork_support)
|
|
65
|
+
|
|
66
|
+
if config.grpc_enable_fork_support:
|
|
67
|
+
# See discussion: https://github.com/hatchet-dev/hatchet/pull/2057#discussion_r2243233357
|
|
68
|
+
os.environ["GRPC_POLL_STRATEGY"] = "poll"
|
|
64
69
|
|
|
65
70
|
if config.tls_config.strategy == "none":
|
|
66
71
|
conn = start.insecure_channel(
|
hatchet_sdk/runnables/types.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import asyncio
|
|
2
2
|
import json
|
|
3
|
-
from collections.abc import Callable
|
|
3
|
+
from collections.abc import Callable, Mapping
|
|
4
4
|
from enum import Enum
|
|
5
5
|
from typing import Any, ParamSpec, TypeGuard, TypeVar
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ from hatchet_sdk.contracts.v1.workflows_pb2 import DefaultFilter as DefaultFilte
|
|
|
12
12
|
from hatchet_sdk.utils.timedelta_to_expression import Duration
|
|
13
13
|
from hatchet_sdk.utils.typing import AwaitableLike, JSONSerializableMapping
|
|
14
14
|
|
|
15
|
-
ValidTaskReturnType = BaseModel |
|
|
15
|
+
ValidTaskReturnType = BaseModel | Mapping[str, Any] | None
|
|
16
16
|
|
|
17
17
|
R = TypeVar("R", bound=ValidTaskReturnType)
|
|
18
18
|
P = ParamSpec("P")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: hatchet-sdk
|
|
3
|
-
Version: 1.16.
|
|
3
|
+
Version: 1.16.5
|
|
4
4
|
Summary:
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Alexander Belanger
|
|
@@ -26,7 +26,7 @@ Requires-Dist: opentelemetry-exporter-otlp (>=1.28.0,<2.0.0) ; extra == "otel"
|
|
|
26
26
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.28.0,<2.0.0) ; extra == "otel"
|
|
27
27
|
Requires-Dist: opentelemetry-instrumentation (>=0.49b0) ; extra == "otel"
|
|
28
28
|
Requires-Dist: opentelemetry-sdk (>=1.28.0,<2.0.0) ; extra == "otel"
|
|
29
|
-
Requires-Dist: prometheus-client (>=0.21.1
|
|
29
|
+
Requires-Dist: prometheus-client (>=0.21.1)
|
|
30
30
|
Requires-Dist: protobuf (>=5.29.5,<6.0.0)
|
|
31
31
|
Requires-Dist: pydantic (>=2.6.3,<3.0.0)
|
|
32
32
|
Requires-Dist: pydantic-settings (>=2.7.1,<3.0.0)
|
|
@@ -9,8 +9,8 @@ hatchet_sdk/clients/listeners/durable_event_listener.py,sha256=55WbVQpm65ccVSQtq
|
|
|
9
9
|
hatchet_sdk/clients/listeners/pooled_listener.py,sha256=mBx9XTQZuFStyvuM93QPyhjnF7qF2XzWfuUR7bniHt8,8512
|
|
10
10
|
hatchet_sdk/clients/listeners/run_event_listener.py,sha256=CNXG5a_MUoYnNVmfrXkW1w3v6UnImyeUFXHQ96n4ULM,10222
|
|
11
11
|
hatchet_sdk/clients/listeners/workflow_listener.py,sha256=u7qkr_uqnk3Pq_dARM3ah0nd1KtL3D_UQwbZ5IdcnjE,2283
|
|
12
|
-
hatchet_sdk/clients/rest/__init__.py,sha256=
|
|
13
|
-
hatchet_sdk/clients/rest/api/__init__.py,sha256=
|
|
12
|
+
hatchet_sdk/clients/rest/__init__.py,sha256=ZkGkE5ycOgQqcgXunPE7Jo55VbgfV2dM1Q7ZyHe2-mY,19460
|
|
13
|
+
hatchet_sdk/clients/rest/api/__init__.py,sha256=l2G4N2X56OL4ph2g8s6RukHogw00Y0x5DLVuSzQId10,1382
|
|
14
14
|
hatchet_sdk/clients/rest/api/api_token_api.py,sha256=xzqMH_-wajBA0qLLs5Ta7tYg4FOLq0NjATyhZ1SV9jo,33433
|
|
15
15
|
hatchet_sdk/clients/rest/api/cel_api.py,sha256=QNVdL2L2-dnjxFerHHUDvugBEIhqBp2_-WJ614lJVMc,13098
|
|
16
16
|
hatchet_sdk/clients/rest/api/default_api.py,sha256=Y0jEhatVpdIX_W2MCt_n40K6iKvVegDB70qxexkeZDI,88677
|
|
@@ -27,6 +27,7 @@ hatchet_sdk/clients/rest/api/step_run_api.py,sha256=rqP4UIJSkw8DwbDnlEgupBDWUL0j
|
|
|
27
27
|
hatchet_sdk/clients/rest/api/task_api.py,sha256=maJxIkIh0YYVzFMKXpx5xBDkavWJr-rWwor5t4GbSwc,90052
|
|
28
28
|
hatchet_sdk/clients/rest/api/tenant_api.py,sha256=iz67ow7wp9qgo1IRPI_IVTkoMh_ytx81wz4MPgEWWSg,198472
|
|
29
29
|
hatchet_sdk/clients/rest/api/user_api.py,sha256=NYuEKLeBjXO4q8gyYq1thtbuRm9m3g0R6-q6LIfv83U,115780
|
|
30
|
+
hatchet_sdk/clients/rest/api/webhook_api.py,sha256=31hyrk6I-kUJ38-fIm_Xre8KJzg_DIeslVD_yv2chvE,60525
|
|
30
31
|
hatchet_sdk/clients/rest/api/worker_api.py,sha256=56jRXsyK7SDENly2b019EO80d8xOHU4bZnmOmjKY1iQ,33049
|
|
31
32
|
hatchet_sdk/clients/rest/api/workflow_api.py,sha256=rpPXy5xZDZWo1GXQGLapTC3A5M_spk1zoK_vu_J7SVA,251652
|
|
32
33
|
hatchet_sdk/clients/rest/api/workflow_run_api.py,sha256=Jvge80z6DhlqL9OuLzUC49OtojeiCuagrMbNBThMYI4,78120
|
|
@@ -35,7 +36,7 @@ hatchet_sdk/clients/rest/api_client.py,sha256=25vNKzpKVhvrGrU8T2YBLbz0Y7K0pKZwiL
|
|
|
35
36
|
hatchet_sdk/clients/rest/api_response.py,sha256=jPXKGanAyue6QAb6r56f-_d7KXGpFERBT-AYq9XdktQ,655
|
|
36
37
|
hatchet_sdk/clients/rest/configuration.py,sha256=ijGxGorVe8OEikJruwJ0hPk1Rc0OAKOqeUrfcoEiYH8,19333
|
|
37
38
|
hatchet_sdk/clients/rest/exceptions.py,sha256=5PTEjyGxLeGP8U_qqc79QzR-sN7SOhzBwknSUC-BU4c,6365
|
|
38
|
-
hatchet_sdk/clients/rest/models/__init__.py,sha256=
|
|
39
|
+
hatchet_sdk/clients/rest/models/__init__.py,sha256=PcQFQXhFLiarNHfSFrXkOTOKKjmYg4eWsO56JyVvVjY,17698
|
|
39
40
|
hatchet_sdk/clients/rest/models/accept_invite_request.py,sha256=_otOis3SuTHl0F_hhYD-rYqgyxCXRn83CK_eU9oMdn4,2427
|
|
40
41
|
hatchet_sdk/clients/rest/models/api_error.py,sha256=KodK1_cc28CgYGvX1WhIhTN0pAAkgq8PJXReIrMnqBA,3068
|
|
41
42
|
hatchet_sdk/clients/rest/models/api_errors.py,sha256=RNmnWn1GWlG9xTvpvrTmKq-Pr70x9mcJ4-dNFBemxa8,2917
|
|
@@ -160,8 +161,16 @@ hatchet_sdk/clients/rest/models/v1_cel_debug_response.py,sha256=0D386MPLfnDswllw
|
|
|
160
161
|
hatchet_sdk/clients/rest/models/v1_cel_debug_response_status.py,sha256=gbWwiqojKKmZ9dNnW7YGVYG6yWi06WnuD9lYZ7mgQjs,706
|
|
161
162
|
hatchet_sdk/clients/rest/models/v1_cel_debug_success_response.py,sha256=gSctXHLzayAGKJNeHizSmzLYGeSxpfGuxMX_LT-6gn0,2860
|
|
162
163
|
hatchet_sdk/clients/rest/models/v1_create_filter_request.py,sha256=2OCv0o9bhgIF20L-KOXTvePbVI_G6eXTunGTNHMYEwg,3117
|
|
164
|
+
hatchet_sdk/clients/rest/models/v1_create_webhook_request.py,sha256=p4Ly8mYRMRsexuoXFIQ9MDuBcAjDaJCoB0YkfLLAleM,7428
|
|
165
|
+
hatchet_sdk/clients/rest/models/v1_create_webhook_request_api_key.py,sha256=kju77b4YPpwxjG9tVVv0kB1ih2oz_CUSyX-jI6KFKLM,4077
|
|
166
|
+
hatchet_sdk/clients/rest/models/v1_create_webhook_request_api_key_all_of_auth_type.py,sha256=TYoaoofO6NYrN2H2txYtSCVD9n3hULKzj-Z-GThaHec,2385
|
|
167
|
+
hatchet_sdk/clients/rest/models/v1_create_webhook_request_base.py,sha256=cIbg6i9aWdY5rT_cRhriOF6Z_sR2m3NEdSaAvOIUHjE,3090
|
|
168
|
+
hatchet_sdk/clients/rest/models/v1_create_webhook_request_basic_auth.py,sha256=HoIH-76fY54YLCr-7_Lc-k4-_NUFLsDFrvy_6jzlFoI,4080
|
|
169
|
+
hatchet_sdk/clients/rest/models/v1_create_webhook_request_basic_auth_all_of_auth_type.py,sha256=MJ4-JL6yb9080M57ryAAjQOoyv6RjxZvAn07p7JTOsE,2397
|
|
170
|
+
hatchet_sdk/clients/rest/models/v1_create_webhook_request_hmac.py,sha256=YikDBot6d_FuGN4Di2qcOeZgOp0XbHyR2C0FLaQmAkc,4054
|
|
171
|
+
hatchet_sdk/clients/rest/models/v1_create_webhook_request_hmac_all_of_auth_type.py,sha256=kyPjSL4WzyuLYa5hSt-cXq9I3uMeYgBv6mczLc18RnA,2377
|
|
163
172
|
hatchet_sdk/clients/rest/models/v1_dag_children.py,sha256=Rk_mKqboHebga12JhnQbN3yhrLXKm_hqtCbTfAdJliU,3135
|
|
164
|
-
hatchet_sdk/clients/rest/models/v1_event.py,sha256=
|
|
173
|
+
hatchet_sdk/clients/rest/models/v1_event.py,sha256=KR-N9DDzEXEQFeuVDGH1qG3cZ2XiRnfJRKlh113RiVk,6730
|
|
165
174
|
hatchet_sdk/clients/rest/models/v1_event_list.py,sha256=miUX2fVgV_9dFHm6Kx3A09KSI8fRowbEwtfzImuTHfE,3447
|
|
166
175
|
hatchet_sdk/clients/rest/models/v1_event_triggered_run.py,sha256=JBi9i3_XBosPqG95yjL92YdNVc-Yxa92JRaIrhxkEcU,2828
|
|
167
176
|
hatchet_sdk/clients/rest/models/v1_event_workflow_run_summary.py,sha256=X09QH2HU7a7TV4A7xH6P5LxekWlWR_NOsPv9-E3Ncy8,3089
|
|
@@ -188,6 +197,16 @@ hatchet_sdk/clients/rest/models/v1_task_timing.py,sha256=ygr-r0_Mius0JDSAYIYjsXO
|
|
|
188
197
|
hatchet_sdk/clients/rest/models/v1_task_timing_list.py,sha256=1LFoKqFn11EJ_t7ZeWUFldWOWfG09tN_wTZu3a8e_SM,3509
|
|
189
198
|
hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py,sha256=P-dC3O7dPr6mGJ2UZYcl3lSQoxKcX-GlYOiWkmNRMj0,3080
|
|
190
199
|
hatchet_sdk/clients/rest/models/v1_update_filter_request.py,sha256=XSWSkNlYZTcVdnZSGFSDVn8g_9YjlXW2UYQSeCiU2No,2953
|
|
200
|
+
hatchet_sdk/clients/rest/models/v1_webhook.py,sha256=gl4pv0BKEYOnKzOv2VTCpeQUamMNA6yPA0nlH43JG9k,4055
|
|
201
|
+
hatchet_sdk/clients/rest/models/v1_webhook_api_key_auth.py,sha256=9ejAQVVPw5T75YA50-7PcYAg9LxE-xLE3INaSfNhx9A,2667
|
|
202
|
+
hatchet_sdk/clients/rest/models/v1_webhook_auth_type.py,sha256=_YcYA6h9Arkvd9NA6CDxrLKVOFZDiF93NKdxDbMwSiE,695
|
|
203
|
+
hatchet_sdk/clients/rest/models/v1_webhook_basic_auth.py,sha256=XGD11_x_CZqQrfXsMOEukxQwN87Hn1pSSFvYtQlhFk0,2569
|
|
204
|
+
hatchet_sdk/clients/rest/models/v1_webhook_hmac_algorithm.py,sha256=_3pTfsBkNJEiCj7yczQ99t4c_SyQmdALAjZJDzhDe68,726
|
|
205
|
+
hatchet_sdk/clients/rest/models/v1_webhook_hmac_auth.py,sha256=xTYLsUJrtMcb7BGdMlnWHLCe8uVVuCKGrLYzOHuKtAg,3421
|
|
206
|
+
hatchet_sdk/clients/rest/models/v1_webhook_hmac_encoding.py,sha256=NAallMjEsWwP03aQVJOEU8AfgIviSitBkrIdgq5Oozs,711
|
|
207
|
+
hatchet_sdk/clients/rest/models/v1_webhook_list.py,sha256=6-hZjTFteT3oTRgGoqbr1VM624icunk77h8T5oSnAM8,3463
|
|
208
|
+
hatchet_sdk/clients/rest/models/v1_webhook_receive200_response.py,sha256=kFlBrhGGNgz3uBVbBQHj0q91Da2YRBm43_wxkOn1Qeo,2418
|
|
209
|
+
hatchet_sdk/clients/rest/models/v1_webhook_source_name.py,sha256=SIFS38XmeSHvQYaOSp0Wb3dz7drtKk1gDCKwBYma55k,707
|
|
191
210
|
hatchet_sdk/clients/rest/models/v1_workflow_run.py,sha256=0kgHJ35XjXgNfaJfb1p0KLS1Jw6VAMeMYSdts8EvuYc,5895
|
|
192
211
|
hatchet_sdk/clients/rest/models/v1_workflow_run_details.py,sha256=1EqvBWpNF-LvjgnT65WQ6D7QnMHxX2Jt-4Jj_h4BOVY,5272
|
|
193
212
|
hatchet_sdk/clients/rest/models/v1_workflow_run_display_name.py,sha256=0r6ASZvs6zUzW-YcJGbhkV_cs6N7jl-5l7f_LLgvBVY,2982
|
|
@@ -239,8 +258,8 @@ hatchet_sdk/clients/rest/rest.py,sha256=zZHTzgl-NBdcK6XhG23m_s9RKRONGPPItzGe407s
|
|
|
239
258
|
hatchet_sdk/clients/rest/tenacity_utils.py,sha256=WeNt_1ah2-NKB9qTI3JnTjItpSviBV95U0cPM4kB5as,1211
|
|
240
259
|
hatchet_sdk/clients/v1/api_client.py,sha256=vUaQr7Xi71a2kFHkZy-pB3tCg3-t0ROlqbPUQA6skIA,2013
|
|
241
260
|
hatchet_sdk/conditions.py,sha256=CnhpkXgVXM3wc0kAX8KZQA6tp8NFAbdzAN2xFbw7Hb0,4522
|
|
242
|
-
hatchet_sdk/config.py,sha256=
|
|
243
|
-
hatchet_sdk/connection.py,sha256=
|
|
261
|
+
hatchet_sdk/config.py,sha256=9yXDCBfVW5AHosiSRWiEScSFSsm7Lx7wi0urNLC11Ck,5266
|
|
262
|
+
hatchet_sdk/connection.py,sha256=XCBY9-UxaN3blakgZ59AhDpjb1ilLOOlmNNM6QaDtMM,2961
|
|
244
263
|
hatchet_sdk/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
245
264
|
hatchet_sdk/context/context.py,sha256=NZzFLu1hOZqsZNGSF8T_LrZOMfFDX-2DIyNMtZXs2ck,15359
|
|
246
265
|
hatchet_sdk/context/worker_context.py,sha256=3lGkOYmDixeuSmqxXbsYav2gErcjP8cDa2m0t0iomjI,884
|
|
@@ -284,7 +303,7 @@ hatchet_sdk/rate_limit.py,sha256=TwbCuggiZaWpYuo4mjVLlE-z1OfQ2mRBiVvCSaG3lv4,391
|
|
|
284
303
|
hatchet_sdk/runnables/action.py,sha256=zrVHpyzIQ9XZgWwY69b_6uhZd53An4trRoLd9b3os5E,4384
|
|
285
304
|
hatchet_sdk/runnables/contextvars.py,sha256=jHrrewUlFPAT9f2u3VCsuSlDBtBoagEUtUzJOSmm4yk,1118
|
|
286
305
|
hatchet_sdk/runnables/task.py,sha256=-5AeToJqIbpgGeyrol5VJaFGND4l_UY8k9VIhrUBXaw,12796
|
|
287
|
-
hatchet_sdk/runnables/types.py,sha256=
|
|
306
|
+
hatchet_sdk/runnables/types.py,sha256=M23xSMTBPl12CXCCXZ0wbnqZ_sePB6CJKtOdipiNDlg,4362
|
|
288
307
|
hatchet_sdk/runnables/workflow.py,sha256=_F5XIeokfQxMgrFtVjdM3ArtCwfKj3u51dinA7ouyWI,57513
|
|
289
308
|
hatchet_sdk/token.py,sha256=KjIiInwG5Kqd_FO4BSW1x_5Uc7PFbnzIVJqr50-ZldE,779
|
|
290
309
|
hatchet_sdk/utils/aio.py,sha256=cu1rD_UZkShtfzi7iXMYwBBaCRdxJQTdUC0_mf8nU2E,499
|
|
@@ -523,7 +542,7 @@ hatchet_sdk/worker/runner/runner.py,sha256=L5J_dbwpz2P0rbDzpxW1udByQJHii28KEvzx-
|
|
|
523
542
|
hatchet_sdk/worker/runner/utils/capture_logs.py,sha256=FBEcPTi6cxFsGPER51k-xeMUzVJhLIAq7NyKTHCM5-E,4386
|
|
524
543
|
hatchet_sdk/worker/worker.py,sha256=9EiESMMcS7voa4cAnmnHMx4rC-pqaTmP74bcTbFPqfQ,16435
|
|
525
544
|
hatchet_sdk/workflow_run.py,sha256=KcylcqRwKADtnzOTjoiVr1vdr7qTZFtDeD5aRS6A4Y8,2823
|
|
526
|
-
hatchet_sdk-1.16.
|
|
527
|
-
hatchet_sdk-1.16.
|
|
528
|
-
hatchet_sdk-1.16.
|
|
529
|
-
hatchet_sdk-1.16.
|
|
545
|
+
hatchet_sdk-1.16.5.dist-info/METADATA,sha256=UijjCLHKfTjcYSAAmG-cy0awxxfNPnuqlls_66QPWgc,3628
|
|
546
|
+
hatchet_sdk-1.16.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
547
|
+
hatchet_sdk-1.16.5.dist-info/entry_points.txt,sha256=Un_76pcLse-ZGBlwebhQpnTPyQrripeHW8J7qmEpGOk,1400
|
|
548
|
+
hatchet_sdk-1.16.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|