windmill-api 1.437.0__py3-none-any.whl → 1.438.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 windmill-api might be problematic. Click here for more details.
- windmill_api/models/app_with_last_version.py +11 -1
- windmill_api/models/app_with_last_version_w_draft.py +8 -8
- windmill_api/models/archive_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/completed_job_language.py +1 -0
- windmill_api/models/create_script_json_body_language.py +1 -0
- windmill_api/models/delete_completed_job_response_200_language.py +1 -0
- windmill_api/models/delete_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_language.py +1 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_language.py +1 -0
- windmill_api/models/get_app_by_path_response_200.py +11 -1
- windmill_api/models/get_app_by_path_with_draft_response_200.py +8 -8
- windmill_api/models/get_app_by_version_response_200.py +11 -1
- windmill_api/models/get_app_lite_by_path_response_200.py +11 -1
- windmill_api/models/get_completed_job_response_200_language.py +1 -0
- windmill_api/models/get_job_response_200_type_0_language.py +1 -0
- windmill_api/models/get_job_response_200_type_1_language.py +1 -0
- windmill_api/models/get_public_app_by_custom_path_response_200.py +11 -1
- windmill_api/models/get_public_app_by_secret_response_200.py +11 -1
- windmill_api/models/get_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/get_script_by_path_response_200_language.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft_language.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_language.py +1 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_language.py +1 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_language.py +1 -0
- windmill_api/models/job_type_0_language.py +1 -0
- windmill_api/models/job_type_1_language.py +1 -0
- windmill_api/models/list_completed_jobs_response_200_item_language.py +1 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_language.py +1 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_language.py +1 -0
- windmill_api/models/list_jobs_response_200_item_type_0_language.py +1 -0
- windmill_api/models/list_jobs_response_200_item_type_1_language.py +1 -0
- windmill_api/models/list_queue_response_200_item_language.py +1 -0
- windmill_api/models/list_scripts_response_200_item_language.py +1 -0
- windmill_api/models/new_script_language.py +1 -0
- windmill_api/models/new_script_with_draft_draft_language.py +1 -0
- windmill_api/models/new_script_with_draft_language.py +1 -0
- windmill_api/models/preview_language.py +1 -0
- windmill_api/models/queued_job_language.py +1 -0
- windmill_api/models/raw_script_for_dependencies_language.py +1 -0
- windmill_api/models/run_raw_script_dependencies_json_body_raw_scripts_item_language.py +1 -0
- windmill_api/models/run_script_preview_json_body_language.py +1 -0
- windmill_api/models/script_language.py +1 -0
- {windmill_api-1.437.0.dist-info → windmill_api-1.438.0.dist-info}/METADATA +1 -1
- {windmill_api-1.437.0.dist-info → windmill_api-1.438.0.dist-info}/RECORD +46 -46
- {windmill_api-1.437.0.dist-info → windmill_api-1.438.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.437.0.dist-info → windmill_api-1.438.0.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import datetime
|
|
2
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, cast
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
from dateutil.parser import isoparse
|
|
7
7
|
|
|
8
8
|
from ..models.app_with_last_version_execution_mode import AppWithLastVersionExecutionMode
|
|
9
|
+
from ..types import UNSET, Unset
|
|
9
10
|
|
|
10
11
|
if TYPE_CHECKING:
|
|
11
12
|
from ..models.app_with_last_version_extra_perms import AppWithLastVersionExtraPerms
|
|
@@ -31,6 +32,7 @@ class AppWithLastVersion:
|
|
|
31
32
|
policy (AppWithLastVersionPolicy):
|
|
32
33
|
execution_mode (AppWithLastVersionExecutionMode):
|
|
33
34
|
extra_perms (AppWithLastVersionExtraPerms):
|
|
35
|
+
custom_path (Union[Unset, str]):
|
|
34
36
|
"""
|
|
35
37
|
|
|
36
38
|
id: int
|
|
@@ -44,6 +46,7 @@ class AppWithLastVersion:
|
|
|
44
46
|
policy: "AppWithLastVersionPolicy"
|
|
45
47
|
execution_mode: AppWithLastVersionExecutionMode
|
|
46
48
|
extra_perms: "AppWithLastVersionExtraPerms"
|
|
49
|
+
custom_path: Union[Unset, str] = UNSET
|
|
47
50
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
48
51
|
|
|
49
52
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -64,6 +67,8 @@ class AppWithLastVersion:
|
|
|
64
67
|
|
|
65
68
|
extra_perms = self.extra_perms.to_dict()
|
|
66
69
|
|
|
70
|
+
custom_path = self.custom_path
|
|
71
|
+
|
|
67
72
|
field_dict: Dict[str, Any] = {}
|
|
68
73
|
field_dict.update(self.additional_properties)
|
|
69
74
|
field_dict.update(
|
|
@@ -81,6 +86,8 @@ class AppWithLastVersion:
|
|
|
81
86
|
"extra_perms": extra_perms,
|
|
82
87
|
}
|
|
83
88
|
)
|
|
89
|
+
if custom_path is not UNSET:
|
|
90
|
+
field_dict["custom_path"] = custom_path
|
|
84
91
|
|
|
85
92
|
return field_dict
|
|
86
93
|
|
|
@@ -113,6 +120,8 @@ class AppWithLastVersion:
|
|
|
113
120
|
|
|
114
121
|
extra_perms = AppWithLastVersionExtraPerms.from_dict(d.pop("extra_perms"))
|
|
115
122
|
|
|
123
|
+
custom_path = d.pop("custom_path", UNSET)
|
|
124
|
+
|
|
116
125
|
app_with_last_version = cls(
|
|
117
126
|
id=id,
|
|
118
127
|
workspace_id=workspace_id,
|
|
@@ -125,6 +134,7 @@ class AppWithLastVersion:
|
|
|
125
134
|
policy=policy,
|
|
126
135
|
execution_mode=execution_mode,
|
|
127
136
|
extra_perms=extra_perms,
|
|
137
|
+
custom_path=custom_path,
|
|
128
138
|
)
|
|
129
139
|
|
|
130
140
|
app_with_last_version.additional_properties = d
|
|
@@ -32,9 +32,9 @@ class AppWithLastVersionWDraft:
|
|
|
32
32
|
policy (AppWithLastVersionWDraftPolicy):
|
|
33
33
|
execution_mode (AppWithLastVersionWDraftExecutionMode):
|
|
34
34
|
extra_perms (AppWithLastVersionWDraftExtraPerms):
|
|
35
|
+
custom_path (Union[Unset, str]):
|
|
35
36
|
draft_only (Union[Unset, bool]):
|
|
36
37
|
draft (Union[Unset, Any]):
|
|
37
|
-
custom_path (Union[Unset, str]):
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
id: int
|
|
@@ -48,9 +48,9 @@ class AppWithLastVersionWDraft:
|
|
|
48
48
|
policy: "AppWithLastVersionWDraftPolicy"
|
|
49
49
|
execution_mode: AppWithLastVersionWDraftExecutionMode
|
|
50
50
|
extra_perms: "AppWithLastVersionWDraftExtraPerms"
|
|
51
|
+
custom_path: Union[Unset, str] = UNSET
|
|
51
52
|
draft_only: Union[Unset, bool] = UNSET
|
|
52
53
|
draft: Union[Unset, Any] = UNSET
|
|
53
|
-
custom_path: Union[Unset, str] = UNSET
|
|
54
54
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
55
55
|
|
|
56
56
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -71,9 +71,9 @@ class AppWithLastVersionWDraft:
|
|
|
71
71
|
|
|
72
72
|
extra_perms = self.extra_perms.to_dict()
|
|
73
73
|
|
|
74
|
+
custom_path = self.custom_path
|
|
74
75
|
draft_only = self.draft_only
|
|
75
76
|
draft = self.draft
|
|
76
|
-
custom_path = self.custom_path
|
|
77
77
|
|
|
78
78
|
field_dict: Dict[str, Any] = {}
|
|
79
79
|
field_dict.update(self.additional_properties)
|
|
@@ -92,12 +92,12 @@ class AppWithLastVersionWDraft:
|
|
|
92
92
|
"extra_perms": extra_perms,
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
|
+
if custom_path is not UNSET:
|
|
96
|
+
field_dict["custom_path"] = custom_path
|
|
95
97
|
if draft_only is not UNSET:
|
|
96
98
|
field_dict["draft_only"] = draft_only
|
|
97
99
|
if draft is not UNSET:
|
|
98
100
|
field_dict["draft"] = draft
|
|
99
|
-
if custom_path is not UNSET:
|
|
100
|
-
field_dict["custom_path"] = custom_path
|
|
101
101
|
|
|
102
102
|
return field_dict
|
|
103
103
|
|
|
@@ -130,12 +130,12 @@ class AppWithLastVersionWDraft:
|
|
|
130
130
|
|
|
131
131
|
extra_perms = AppWithLastVersionWDraftExtraPerms.from_dict(d.pop("extra_perms"))
|
|
132
132
|
|
|
133
|
+
custom_path = d.pop("custom_path", UNSET)
|
|
134
|
+
|
|
133
135
|
draft_only = d.pop("draft_only", UNSET)
|
|
134
136
|
|
|
135
137
|
draft = d.pop("draft", UNSET)
|
|
136
138
|
|
|
137
|
-
custom_path = d.pop("custom_path", UNSET)
|
|
138
|
-
|
|
139
139
|
app_with_last_version_w_draft = cls(
|
|
140
140
|
id=id,
|
|
141
141
|
workspace_id=workspace_id,
|
|
@@ -148,9 +148,9 @@ class AppWithLastVersionWDraft:
|
|
|
148
148
|
policy=policy,
|
|
149
149
|
execution_mode=execution_mode,
|
|
150
150
|
extra_perms=extra_perms,
|
|
151
|
+
custom_path=custom_path,
|
|
151
152
|
draft_only=draft_only,
|
|
152
153
|
draft=draft,
|
|
153
|
-
custom_path=custom_path,
|
|
154
154
|
)
|
|
155
155
|
|
|
156
156
|
app_with_last_version_w_draft.additional_properties = d
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import datetime
|
|
2
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, cast
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
from dateutil.parser import isoparse
|
|
7
7
|
|
|
8
8
|
from ..models.get_app_by_path_response_200_execution_mode import GetAppByPathResponse200ExecutionMode
|
|
9
|
+
from ..types import UNSET, Unset
|
|
9
10
|
|
|
10
11
|
if TYPE_CHECKING:
|
|
11
12
|
from ..models.get_app_by_path_response_200_extra_perms import GetAppByPathResponse200ExtraPerms
|
|
@@ -31,6 +32,7 @@ class GetAppByPathResponse200:
|
|
|
31
32
|
policy (GetAppByPathResponse200Policy):
|
|
32
33
|
execution_mode (GetAppByPathResponse200ExecutionMode):
|
|
33
34
|
extra_perms (GetAppByPathResponse200ExtraPerms):
|
|
35
|
+
custom_path (Union[Unset, str]):
|
|
34
36
|
"""
|
|
35
37
|
|
|
36
38
|
id: int
|
|
@@ -44,6 +46,7 @@ class GetAppByPathResponse200:
|
|
|
44
46
|
policy: "GetAppByPathResponse200Policy"
|
|
45
47
|
execution_mode: GetAppByPathResponse200ExecutionMode
|
|
46
48
|
extra_perms: "GetAppByPathResponse200ExtraPerms"
|
|
49
|
+
custom_path: Union[Unset, str] = UNSET
|
|
47
50
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
48
51
|
|
|
49
52
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -64,6 +67,8 @@ class GetAppByPathResponse200:
|
|
|
64
67
|
|
|
65
68
|
extra_perms = self.extra_perms.to_dict()
|
|
66
69
|
|
|
70
|
+
custom_path = self.custom_path
|
|
71
|
+
|
|
67
72
|
field_dict: Dict[str, Any] = {}
|
|
68
73
|
field_dict.update(self.additional_properties)
|
|
69
74
|
field_dict.update(
|
|
@@ -81,6 +86,8 @@ class GetAppByPathResponse200:
|
|
|
81
86
|
"extra_perms": extra_perms,
|
|
82
87
|
}
|
|
83
88
|
)
|
|
89
|
+
if custom_path is not UNSET:
|
|
90
|
+
field_dict["custom_path"] = custom_path
|
|
84
91
|
|
|
85
92
|
return field_dict
|
|
86
93
|
|
|
@@ -113,6 +120,8 @@ class GetAppByPathResponse200:
|
|
|
113
120
|
|
|
114
121
|
extra_perms = GetAppByPathResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
|
|
115
122
|
|
|
123
|
+
custom_path = d.pop("custom_path", UNSET)
|
|
124
|
+
|
|
116
125
|
get_app_by_path_response_200 = cls(
|
|
117
126
|
id=id,
|
|
118
127
|
workspace_id=workspace_id,
|
|
@@ -125,6 +134,7 @@ class GetAppByPathResponse200:
|
|
|
125
134
|
policy=policy,
|
|
126
135
|
execution_mode=execution_mode,
|
|
127
136
|
extra_perms=extra_perms,
|
|
137
|
+
custom_path=custom_path,
|
|
128
138
|
)
|
|
129
139
|
|
|
130
140
|
get_app_by_path_response_200.additional_properties = d
|
|
@@ -34,9 +34,9 @@ class GetAppByPathWithDraftResponse200:
|
|
|
34
34
|
policy (GetAppByPathWithDraftResponse200Policy):
|
|
35
35
|
execution_mode (GetAppByPathWithDraftResponse200ExecutionMode):
|
|
36
36
|
extra_perms (GetAppByPathWithDraftResponse200ExtraPerms):
|
|
37
|
+
custom_path (Union[Unset, str]):
|
|
37
38
|
draft_only (Union[Unset, bool]):
|
|
38
39
|
draft (Union[Unset, Any]):
|
|
39
|
-
custom_path (Union[Unset, str]):
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
id: int
|
|
@@ -50,9 +50,9 @@ class GetAppByPathWithDraftResponse200:
|
|
|
50
50
|
policy: "GetAppByPathWithDraftResponse200Policy"
|
|
51
51
|
execution_mode: GetAppByPathWithDraftResponse200ExecutionMode
|
|
52
52
|
extra_perms: "GetAppByPathWithDraftResponse200ExtraPerms"
|
|
53
|
+
custom_path: Union[Unset, str] = UNSET
|
|
53
54
|
draft_only: Union[Unset, bool] = UNSET
|
|
54
55
|
draft: Union[Unset, Any] = UNSET
|
|
55
|
-
custom_path: Union[Unset, str] = UNSET
|
|
56
56
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
57
57
|
|
|
58
58
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -73,9 +73,9 @@ class GetAppByPathWithDraftResponse200:
|
|
|
73
73
|
|
|
74
74
|
extra_perms = self.extra_perms.to_dict()
|
|
75
75
|
|
|
76
|
+
custom_path = self.custom_path
|
|
76
77
|
draft_only = self.draft_only
|
|
77
78
|
draft = self.draft
|
|
78
|
-
custom_path = self.custom_path
|
|
79
79
|
|
|
80
80
|
field_dict: Dict[str, Any] = {}
|
|
81
81
|
field_dict.update(self.additional_properties)
|
|
@@ -94,12 +94,12 @@ class GetAppByPathWithDraftResponse200:
|
|
|
94
94
|
"extra_perms": extra_perms,
|
|
95
95
|
}
|
|
96
96
|
)
|
|
97
|
+
if custom_path is not UNSET:
|
|
98
|
+
field_dict["custom_path"] = custom_path
|
|
97
99
|
if draft_only is not UNSET:
|
|
98
100
|
field_dict["draft_only"] = draft_only
|
|
99
101
|
if draft is not UNSET:
|
|
100
102
|
field_dict["draft"] = draft
|
|
101
|
-
if custom_path is not UNSET:
|
|
102
|
-
field_dict["custom_path"] = custom_path
|
|
103
103
|
|
|
104
104
|
return field_dict
|
|
105
105
|
|
|
@@ -134,12 +134,12 @@ class GetAppByPathWithDraftResponse200:
|
|
|
134
134
|
|
|
135
135
|
extra_perms = GetAppByPathWithDraftResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
|
|
136
136
|
|
|
137
|
+
custom_path = d.pop("custom_path", UNSET)
|
|
138
|
+
|
|
137
139
|
draft_only = d.pop("draft_only", UNSET)
|
|
138
140
|
|
|
139
141
|
draft = d.pop("draft", UNSET)
|
|
140
142
|
|
|
141
|
-
custom_path = d.pop("custom_path", UNSET)
|
|
142
|
-
|
|
143
143
|
get_app_by_path_with_draft_response_200 = cls(
|
|
144
144
|
id=id,
|
|
145
145
|
workspace_id=workspace_id,
|
|
@@ -152,9 +152,9 @@ class GetAppByPathWithDraftResponse200:
|
|
|
152
152
|
policy=policy,
|
|
153
153
|
execution_mode=execution_mode,
|
|
154
154
|
extra_perms=extra_perms,
|
|
155
|
+
custom_path=custom_path,
|
|
155
156
|
draft_only=draft_only,
|
|
156
157
|
draft=draft,
|
|
157
|
-
custom_path=custom_path,
|
|
158
158
|
)
|
|
159
159
|
|
|
160
160
|
get_app_by_path_with_draft_response_200.additional_properties = d
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import datetime
|
|
2
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, cast
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
from dateutil.parser import isoparse
|
|
7
7
|
|
|
8
8
|
from ..models.get_app_by_version_response_200_execution_mode import GetAppByVersionResponse200ExecutionMode
|
|
9
|
+
from ..types import UNSET, Unset
|
|
9
10
|
|
|
10
11
|
if TYPE_CHECKING:
|
|
11
12
|
from ..models.get_app_by_version_response_200_extra_perms import GetAppByVersionResponse200ExtraPerms
|
|
@@ -31,6 +32,7 @@ class GetAppByVersionResponse200:
|
|
|
31
32
|
policy (GetAppByVersionResponse200Policy):
|
|
32
33
|
execution_mode (GetAppByVersionResponse200ExecutionMode):
|
|
33
34
|
extra_perms (GetAppByVersionResponse200ExtraPerms):
|
|
35
|
+
custom_path (Union[Unset, str]):
|
|
34
36
|
"""
|
|
35
37
|
|
|
36
38
|
id: int
|
|
@@ -44,6 +46,7 @@ class GetAppByVersionResponse200:
|
|
|
44
46
|
policy: "GetAppByVersionResponse200Policy"
|
|
45
47
|
execution_mode: GetAppByVersionResponse200ExecutionMode
|
|
46
48
|
extra_perms: "GetAppByVersionResponse200ExtraPerms"
|
|
49
|
+
custom_path: Union[Unset, str] = UNSET
|
|
47
50
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
48
51
|
|
|
49
52
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -64,6 +67,8 @@ class GetAppByVersionResponse200:
|
|
|
64
67
|
|
|
65
68
|
extra_perms = self.extra_perms.to_dict()
|
|
66
69
|
|
|
70
|
+
custom_path = self.custom_path
|
|
71
|
+
|
|
67
72
|
field_dict: Dict[str, Any] = {}
|
|
68
73
|
field_dict.update(self.additional_properties)
|
|
69
74
|
field_dict.update(
|
|
@@ -81,6 +86,8 @@ class GetAppByVersionResponse200:
|
|
|
81
86
|
"extra_perms": extra_perms,
|
|
82
87
|
}
|
|
83
88
|
)
|
|
89
|
+
if custom_path is not UNSET:
|
|
90
|
+
field_dict["custom_path"] = custom_path
|
|
84
91
|
|
|
85
92
|
return field_dict
|
|
86
93
|
|
|
@@ -113,6 +120,8 @@ class GetAppByVersionResponse200:
|
|
|
113
120
|
|
|
114
121
|
extra_perms = GetAppByVersionResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
|
|
115
122
|
|
|
123
|
+
custom_path = d.pop("custom_path", UNSET)
|
|
124
|
+
|
|
116
125
|
get_app_by_version_response_200 = cls(
|
|
117
126
|
id=id,
|
|
118
127
|
workspace_id=workspace_id,
|
|
@@ -125,6 +134,7 @@ class GetAppByVersionResponse200:
|
|
|
125
134
|
policy=policy,
|
|
126
135
|
execution_mode=execution_mode,
|
|
127
136
|
extra_perms=extra_perms,
|
|
137
|
+
custom_path=custom_path,
|
|
128
138
|
)
|
|
129
139
|
|
|
130
140
|
get_app_by_version_response_200.additional_properties = d
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import datetime
|
|
2
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, cast
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
from dateutil.parser import isoparse
|
|
7
7
|
|
|
8
8
|
from ..models.get_app_lite_by_path_response_200_execution_mode import GetAppLiteByPathResponse200ExecutionMode
|
|
9
|
+
from ..types import UNSET, Unset
|
|
9
10
|
|
|
10
11
|
if TYPE_CHECKING:
|
|
11
12
|
from ..models.get_app_lite_by_path_response_200_extra_perms import GetAppLiteByPathResponse200ExtraPerms
|
|
@@ -31,6 +32,7 @@ class GetAppLiteByPathResponse200:
|
|
|
31
32
|
policy (GetAppLiteByPathResponse200Policy):
|
|
32
33
|
execution_mode (GetAppLiteByPathResponse200ExecutionMode):
|
|
33
34
|
extra_perms (GetAppLiteByPathResponse200ExtraPerms):
|
|
35
|
+
custom_path (Union[Unset, str]):
|
|
34
36
|
"""
|
|
35
37
|
|
|
36
38
|
id: int
|
|
@@ -44,6 +46,7 @@ class GetAppLiteByPathResponse200:
|
|
|
44
46
|
policy: "GetAppLiteByPathResponse200Policy"
|
|
45
47
|
execution_mode: GetAppLiteByPathResponse200ExecutionMode
|
|
46
48
|
extra_perms: "GetAppLiteByPathResponse200ExtraPerms"
|
|
49
|
+
custom_path: Union[Unset, str] = UNSET
|
|
47
50
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
48
51
|
|
|
49
52
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -64,6 +67,8 @@ class GetAppLiteByPathResponse200:
|
|
|
64
67
|
|
|
65
68
|
extra_perms = self.extra_perms.to_dict()
|
|
66
69
|
|
|
70
|
+
custom_path = self.custom_path
|
|
71
|
+
|
|
67
72
|
field_dict: Dict[str, Any] = {}
|
|
68
73
|
field_dict.update(self.additional_properties)
|
|
69
74
|
field_dict.update(
|
|
@@ -81,6 +86,8 @@ class GetAppLiteByPathResponse200:
|
|
|
81
86
|
"extra_perms": extra_perms,
|
|
82
87
|
}
|
|
83
88
|
)
|
|
89
|
+
if custom_path is not UNSET:
|
|
90
|
+
field_dict["custom_path"] = custom_path
|
|
84
91
|
|
|
85
92
|
return field_dict
|
|
86
93
|
|
|
@@ -113,6 +120,8 @@ class GetAppLiteByPathResponse200:
|
|
|
113
120
|
|
|
114
121
|
extra_perms = GetAppLiteByPathResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
|
|
115
122
|
|
|
123
|
+
custom_path = d.pop("custom_path", UNSET)
|
|
124
|
+
|
|
116
125
|
get_app_lite_by_path_response_200 = cls(
|
|
117
126
|
id=id,
|
|
118
127
|
workspace_id=workspace_id,
|
|
@@ -125,6 +134,7 @@ class GetAppLiteByPathResponse200:
|
|
|
125
134
|
policy=policy,
|
|
126
135
|
execution_mode=execution_mode,
|
|
127
136
|
extra_perms=extra_perms,
|
|
137
|
+
custom_path=custom_path,
|
|
128
138
|
)
|
|
129
139
|
|
|
130
140
|
get_app_lite_by_path_response_200.additional_properties = d
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import datetime
|
|
2
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, cast
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
@@ -8,6 +8,7 @@ from dateutil.parser import isoparse
|
|
|
8
8
|
from ..models.get_public_app_by_custom_path_response_200_execution_mode import (
|
|
9
9
|
GetPublicAppByCustomPathResponse200ExecutionMode,
|
|
10
10
|
)
|
|
11
|
+
from ..types import UNSET, Unset
|
|
11
12
|
|
|
12
13
|
if TYPE_CHECKING:
|
|
13
14
|
from ..models.get_public_app_by_custom_path_response_200_extra_perms import (
|
|
@@ -35,6 +36,7 @@ class GetPublicAppByCustomPathResponse200:
|
|
|
35
36
|
policy (GetPublicAppByCustomPathResponse200Policy):
|
|
36
37
|
execution_mode (GetPublicAppByCustomPathResponse200ExecutionMode):
|
|
37
38
|
extra_perms (GetPublicAppByCustomPathResponse200ExtraPerms):
|
|
39
|
+
custom_path (Union[Unset, str]):
|
|
38
40
|
"""
|
|
39
41
|
|
|
40
42
|
id: int
|
|
@@ -48,6 +50,7 @@ class GetPublicAppByCustomPathResponse200:
|
|
|
48
50
|
policy: "GetPublicAppByCustomPathResponse200Policy"
|
|
49
51
|
execution_mode: GetPublicAppByCustomPathResponse200ExecutionMode
|
|
50
52
|
extra_perms: "GetPublicAppByCustomPathResponse200ExtraPerms"
|
|
53
|
+
custom_path: Union[Unset, str] = UNSET
|
|
51
54
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
52
55
|
|
|
53
56
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -68,6 +71,8 @@ class GetPublicAppByCustomPathResponse200:
|
|
|
68
71
|
|
|
69
72
|
extra_perms = self.extra_perms.to_dict()
|
|
70
73
|
|
|
74
|
+
custom_path = self.custom_path
|
|
75
|
+
|
|
71
76
|
field_dict: Dict[str, Any] = {}
|
|
72
77
|
field_dict.update(self.additional_properties)
|
|
73
78
|
field_dict.update(
|
|
@@ -85,6 +90,8 @@ class GetPublicAppByCustomPathResponse200:
|
|
|
85
90
|
"extra_perms": extra_perms,
|
|
86
91
|
}
|
|
87
92
|
)
|
|
93
|
+
if custom_path is not UNSET:
|
|
94
|
+
field_dict["custom_path"] = custom_path
|
|
88
95
|
|
|
89
96
|
return field_dict
|
|
90
97
|
|
|
@@ -119,6 +126,8 @@ class GetPublicAppByCustomPathResponse200:
|
|
|
119
126
|
|
|
120
127
|
extra_perms = GetPublicAppByCustomPathResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
|
|
121
128
|
|
|
129
|
+
custom_path = d.pop("custom_path", UNSET)
|
|
130
|
+
|
|
122
131
|
get_public_app_by_custom_path_response_200 = cls(
|
|
123
132
|
id=id,
|
|
124
133
|
workspace_id=workspace_id,
|
|
@@ -131,6 +140,7 @@ class GetPublicAppByCustomPathResponse200:
|
|
|
131
140
|
policy=policy,
|
|
132
141
|
execution_mode=execution_mode,
|
|
133
142
|
extra_perms=extra_perms,
|
|
143
|
+
custom_path=custom_path,
|
|
134
144
|
)
|
|
135
145
|
|
|
136
146
|
get_public_app_by_custom_path_response_200.additional_properties = d
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import datetime
|
|
2
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, cast
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
from dateutil.parser import isoparse
|
|
7
7
|
|
|
8
8
|
from ..models.get_public_app_by_secret_response_200_execution_mode import GetPublicAppBySecretResponse200ExecutionMode
|
|
9
|
+
from ..types import UNSET, Unset
|
|
9
10
|
|
|
10
11
|
if TYPE_CHECKING:
|
|
11
12
|
from ..models.get_public_app_by_secret_response_200_extra_perms import GetPublicAppBySecretResponse200ExtraPerms
|
|
@@ -31,6 +32,7 @@ class GetPublicAppBySecretResponse200:
|
|
|
31
32
|
policy (GetPublicAppBySecretResponse200Policy):
|
|
32
33
|
execution_mode (GetPublicAppBySecretResponse200ExecutionMode):
|
|
33
34
|
extra_perms (GetPublicAppBySecretResponse200ExtraPerms):
|
|
35
|
+
custom_path (Union[Unset, str]):
|
|
34
36
|
"""
|
|
35
37
|
|
|
36
38
|
id: int
|
|
@@ -44,6 +46,7 @@ class GetPublicAppBySecretResponse200:
|
|
|
44
46
|
policy: "GetPublicAppBySecretResponse200Policy"
|
|
45
47
|
execution_mode: GetPublicAppBySecretResponse200ExecutionMode
|
|
46
48
|
extra_perms: "GetPublicAppBySecretResponse200ExtraPerms"
|
|
49
|
+
custom_path: Union[Unset, str] = UNSET
|
|
47
50
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
48
51
|
|
|
49
52
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -64,6 +67,8 @@ class GetPublicAppBySecretResponse200:
|
|
|
64
67
|
|
|
65
68
|
extra_perms = self.extra_perms.to_dict()
|
|
66
69
|
|
|
70
|
+
custom_path = self.custom_path
|
|
71
|
+
|
|
67
72
|
field_dict: Dict[str, Any] = {}
|
|
68
73
|
field_dict.update(self.additional_properties)
|
|
69
74
|
field_dict.update(
|
|
@@ -81,6 +86,8 @@ class GetPublicAppBySecretResponse200:
|
|
|
81
86
|
"extra_perms": extra_perms,
|
|
82
87
|
}
|
|
83
88
|
)
|
|
89
|
+
if custom_path is not UNSET:
|
|
90
|
+
field_dict["custom_path"] = custom_path
|
|
84
91
|
|
|
85
92
|
return field_dict
|
|
86
93
|
|
|
@@ -113,6 +120,8 @@ class GetPublicAppBySecretResponse200:
|
|
|
113
120
|
|
|
114
121
|
extra_perms = GetPublicAppBySecretResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
|
|
115
122
|
|
|
123
|
+
custom_path = d.pop("custom_path", UNSET)
|
|
124
|
+
|
|
116
125
|
get_public_app_by_secret_response_200 = cls(
|
|
117
126
|
id=id,
|
|
118
127
|
workspace_id=workspace_id,
|
|
@@ -125,6 +134,7 @@ class GetPublicAppBySecretResponse200:
|
|
|
125
134
|
policy=policy,
|
|
126
135
|
execution_mode=execution_mode,
|
|
127
136
|
extra_perms=extra_perms,
|
|
137
|
+
custom_path=custom_path,
|
|
128
138
|
)
|
|
129
139
|
|
|
130
140
|
get_public_app_by_secret_response_200.additional_properties = d
|