-
Notifications
You must be signed in to change notification settings - Fork 15
/
openapi_patch.patch
71 lines (67 loc) · 2.66 KB
/
openapi_patch.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
diff --git a/hatchet_sdk/clients/rest/api/workflow_api.py b/hatchet_sdk/clients/rest/api/workflow_api.py
index 5716532..c32ba44 100644
--- a/hatchet_sdk/clients/rest/api/workflow_api.py
+++ b/hatchet_sdk/clients/rest/api/workflow_api.py
@@ -2185,9 +2185,7 @@ class WorkflowApi:
_query_params.append(
(
"createdAfter",
- created_after.strftime(
- self.api_client.configuration.datetime_format
- ),
+ created_after.isoformat(),
)
)
else:
@@ -2198,9 +2196,7 @@ class WorkflowApi:
_query_params.append(
(
"createdBefore",
- created_before.strftime(
- self.api_client.configuration.datetime_format
- ),
+ created_before.isoformat(),
)
)
else:
@@ -2789,9 +2785,7 @@ class WorkflowApi:
_query_params.append(
(
"createdAfter",
- created_after.strftime(
- self.api_client.configuration.datetime_format
- ),
+ created_after.isoformat(),
)
)
else:
@@ -2802,9 +2796,7 @@ class WorkflowApi:
_query_params.append(
(
"createdBefore",
- created_before.strftime(
- self.api_client.configuration.datetime_format
- ),
+ created_before.isoformat(),
)
)
else:
diff --git a/hatchet_sdk/clients/rest/models/workflow_runs_metrics.py b/hatchet_sdk/clients/rest/models/workflow_runs_metrics.py
index 71b6351..5f70c44 100644
--- a/hatchet_sdk/clients/rest/models/workflow_runs_metrics.py
+++ b/hatchet_sdk/clients/rest/models/workflow_runs_metrics.py
@@ -22,13 +22,17 @@ from typing import Any, ClassVar, Dict, List, Optional, Set
from pydantic import BaseModel, ConfigDict
from typing_extensions import Self
+from hatchet_sdk.clients.rest.models.workflow_runs_metrics_counts import (
+ WorkflowRunsMetricsCounts,
+)
+
class WorkflowRunsMetrics(BaseModel):
"""
WorkflowRunsMetrics
""" # noqa: E501
- counts: Optional[Dict[str, Any]] = None
+ counts: Optional[WorkflowRunsMetricsCounts] = None
__properties: ClassVar[List[str]] = ["counts"]
model_config = ConfigDict(