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
@@ -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
@@ -6,6 +6,7 @@ class GetScriptByHashResponse200Language(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 GetScriptByPathResponse200Language(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 GetScriptByPathWithDraftResponse200DraftLanguage(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 GetScriptByPathWithDraftResponse200Language(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 GetSuspendedJobFlowResponse200JobType0Language(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 GetSuspendedJobFlowResponse200JobType1Language(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 JobType0Language(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 JobType1Language(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 ListCompletedJobsResponse200ItemLanguage(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 ListExtendedJobsResponse200JobsItemType0Language(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 ListExtendedJobsResponse200JobsItemType1Language(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 ListJobsResponse200ItemType0Language(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 ListJobsResponse200ItemType1Language(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 ListQueueResponse200ItemLanguage(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 ListScriptsResponse200ItemLanguage(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 NewScriptLanguage(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 NewScriptWithDraftDraftLanguage(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 NewScriptWithDraftLanguage(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 PreviewLanguage(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 QueuedJobLanguage(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 RawScriptForDependenciesLanguage(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 RunRawScriptDependenciesJsonBodyRawScriptsItemLanguage(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 RunScriptPreviewJsonBodyLanguage(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 ScriptLanguage(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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: windmill-api
3
- Version: 1.437.1
3
+ Version: 1.439.0
4
4
  Summary: A client library for accessing Windmill API
5
5
  License: Apache-2.0
6
6
  Author: Ruben Fiszel