windmill-api 1.437.1__py3-none-any.whl → 1.439.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.

Files changed (47) hide show
  1. windmill_api/api/user/refresh_user_token.py +25 -4
  2. windmill_api/models/app_with_last_version.py +11 -1
  3. windmill_api/models/app_with_last_version_w_draft.py +8 -8
  4. windmill_api/models/archive_script_by_hash_response_200_language.py +1 -0
  5. windmill_api/models/completed_job_language.py +1 -0
  6. windmill_api/models/create_script_json_body_language.py +1 -0
  7. windmill_api/models/delete_completed_job_response_200_language.py +1 -0
  8. windmill_api/models/delete_script_by_hash_response_200_language.py +1 -0
  9. windmill_api/models/extended_jobs_jobs_item_type_0_language.py +1 -0
  10. windmill_api/models/extended_jobs_jobs_item_type_1_language.py +1 -0
  11. windmill_api/models/get_app_by_path_response_200.py +11 -1
  12. windmill_api/models/get_app_by_path_with_draft_response_200.py +8 -8
  13. windmill_api/models/get_app_by_version_response_200.py +11 -1
  14. windmill_api/models/get_app_lite_by_path_response_200.py +11 -1
  15. windmill_api/models/get_completed_job_response_200_language.py +1 -0
  16. windmill_api/models/get_job_response_200_type_0_language.py +1 -0
  17. windmill_api/models/get_job_response_200_type_1_language.py +1 -0
  18. windmill_api/models/get_public_app_by_custom_path_response_200.py +11 -1
  19. windmill_api/models/get_public_app_by_secret_response_200.py +11 -1
  20. windmill_api/models/get_script_by_hash_response_200_language.py +1 -0
  21. windmill_api/models/get_script_by_path_response_200_language.py +1 -0
  22. windmill_api/models/get_script_by_path_with_draft_response_200_draft_language.py +1 -0
  23. windmill_api/models/get_script_by_path_with_draft_response_200_language.py +1 -0
  24. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_language.py +1 -0
  25. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_language.py +1 -0
  26. windmill_api/models/job_type_0_language.py +1 -0
  27. windmill_api/models/job_type_1_language.py +1 -0
  28. windmill_api/models/list_completed_jobs_response_200_item_language.py +1 -0
  29. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_language.py +1 -0
  30. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_language.py +1 -0
  31. windmill_api/models/list_jobs_response_200_item_type_0_language.py +1 -0
  32. windmill_api/models/list_jobs_response_200_item_type_1_language.py +1 -0
  33. windmill_api/models/list_queue_response_200_item_language.py +1 -0
  34. windmill_api/models/list_scripts_response_200_item_language.py +1 -0
  35. windmill_api/models/new_script_language.py +1 -0
  36. windmill_api/models/new_script_with_draft_draft_language.py +1 -0
  37. windmill_api/models/new_script_with_draft_language.py +1 -0
  38. windmill_api/models/preview_language.py +1 -0
  39. windmill_api/models/queued_job_language.py +1 -0
  40. windmill_api/models/raw_script_for_dependencies_language.py +1 -0
  41. windmill_api/models/run_raw_script_dependencies_json_body_raw_scripts_item_language.py +1 -0
  42. windmill_api/models/run_script_preview_json_body_language.py +1 -0
  43. windmill_api/models/script_language.py +1 -0
  44. {windmill_api-1.437.1.dist-info → windmill_api-1.439.0.dist-info}/METADATA +1 -1
  45. {windmill_api-1.437.1.dist-info → windmill_api-1.439.0.dist-info}/RECORD +47 -47
  46. {windmill_api-1.437.1.dist-info → windmill_api-1.439.0.dist-info}/LICENSE +0 -0
  47. {windmill_api-1.437.1.dist-info → windmill_api-1.439.0.dist-info}/WHEEL +0 -0
@@ -5,15 +5,24 @@ import httpx
5
5
 
6
6
  from ... import errors
7
7
  from ...client import AuthenticatedClient, Client
8
- from ...types import Response
8
+ from ...types import UNSET, Response, Unset
9
9
 
10
10
 
11
- def _get_kwargs() -> Dict[str, Any]:
11
+ def _get_kwargs(
12
+ *,
13
+ if_expiring_in_less_than_s: Union[Unset, None, int] = UNSET,
14
+ ) -> Dict[str, Any]:
12
15
  pass
13
16
 
17
+ params: Dict[str, Any] = {}
18
+ params["if_expiring_in_less_than_s"] = if_expiring_in_less_than_s
19
+
20
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
21
+
14
22
  return {
15
23
  "method": "get",
16
24
  "url": "/users/refresh_token",
25
+ "params": params,
17
26
  }
18
27
 
19
28
 
@@ -36,9 +45,13 @@ def _build_response(*, client: Union[AuthenticatedClient, Client], response: htt
36
45
  def sync_detailed(
37
46
  *,
38
47
  client: Union[AuthenticatedClient, Client],
48
+ if_expiring_in_less_than_s: Union[Unset, None, int] = UNSET,
39
49
  ) -> Response[Any]:
40
50
  """refresh the current token
41
51
 
52
+ Args:
53
+ if_expiring_in_less_than_s (Union[Unset, None, int]):
54
+
42
55
  Raises:
43
56
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
44
57
  httpx.TimeoutException: If the request takes longer than Client.timeout.
@@ -47,7 +60,9 @@ def sync_detailed(
47
60
  Response[Any]
48
61
  """
49
62
 
50
- kwargs = _get_kwargs()
63
+ kwargs = _get_kwargs(
64
+ if_expiring_in_less_than_s=if_expiring_in_less_than_s,
65
+ )
51
66
 
52
67
  response = client.get_httpx_client().request(
53
68
  **kwargs,
@@ -59,9 +74,13 @@ def sync_detailed(
59
74
  async def asyncio_detailed(
60
75
  *,
61
76
  client: Union[AuthenticatedClient, Client],
77
+ if_expiring_in_less_than_s: Union[Unset, None, int] = UNSET,
62
78
  ) -> Response[Any]:
63
79
  """refresh the current token
64
80
 
81
+ Args:
82
+ if_expiring_in_less_than_s (Union[Unset, None, int]):
83
+
65
84
  Raises:
66
85
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
67
86
  httpx.TimeoutException: If the request takes longer than Client.timeout.
@@ -70,7 +89,9 @@ async def asyncio_detailed(
70
89
  Response[Any]
71
90
  """
72
91
 
73
- kwargs = _get_kwargs()
92
+ kwargs = _get_kwargs(
93
+ if_expiring_in_less_than_s=if_expiring_in_less_than_s,
94
+ )
74
95
 
75
96
  response = await client.get_async_httpx_client().request(**kwargs)
76
97
 
@@ -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
@@ -6,6 +6,7 @@ class ArchiveScriptByHashResponse200Language(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -6,6 +6,7 @@ class CompletedJobLanguage(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -6,6 +6,7 @@ class CreateScriptJsonBodyLanguage(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -6,6 +6,7 @@ class DeleteCompletedJobResponse200Language(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -6,6 +6,7 @@ class DeleteScriptByHashResponse200Language(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -6,6 +6,7 @@ class ExtendedJobsJobsItemType0Language(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -6,6 +6,7 @@ class ExtendedJobsJobsItemType1Language(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -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
@@ -6,6 +6,7 @@ class GetCompletedJobResponse200Language(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -6,6 +6,7 @@ class GetJobResponse200Type0Language(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -6,6 +6,7 @@ class GetJobResponse200Type1Language(str, Enum):
6
6
  BASH = "bash"
7
7
  BIGQUERY = "bigquery"
8
8
  BUN = "bun"
9
+ CSHARP = "csharp"
9
10
  DENO = "deno"
10
11
  GO = "go"
11
12
  GRAPHQL = "graphql"
@@ -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