windmill-api 1.481.0__py3-none-any.whl → 1.483.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 (131) hide show
  1. windmill_api/api/agent_workers/__init__.py +0 -0
  2. windmill_api/api/agent_workers/create_agent_token.py +149 -0
  3. windmill_api/api/app/sign_s3_objects.py +175 -0
  4. windmill_api/api/capture/set_capture_config.py +70 -7
  5. windmill_api/api/concurrency_groups/list_extended_jobs.py +15 -0
  6. windmill_api/api/gcp_trigger/__init__.py +0 -0
  7. windmill_api/api/gcp_trigger/create_gcp_trigger.py +105 -0
  8. windmill_api/api/gcp_trigger/delete_gcp_subscription.py +113 -0
  9. windmill_api/api/gcp_trigger/delete_gcp_trigger.py +101 -0
  10. windmill_api/api/gcp_trigger/exists_gcp_trigger.py +160 -0
  11. windmill_api/api/gcp_trigger/get_gcp_trigger.py +166 -0
  12. windmill_api/api/gcp_trigger/list_all_t_google_topic_subscriptions.py +179 -0
  13. windmill_api/api/gcp_trigger/list_gcp_triggers.py +237 -0
  14. windmill_api/api/gcp_trigger/list_google_topics.py +161 -0
  15. windmill_api/api/gcp_trigger/set_gcp_trigger_enabled.py +113 -0
  16. windmill_api/api/gcp_trigger/test_gcp_connection.py +105 -0
  17. windmill_api/api/gcp_trigger/update_gcp_trigger.py +113 -0
  18. windmill_api/api/job/batch_re_run_jobs.py +105 -0
  19. windmill_api/api/job/list_completed_jobs.py +15 -0
  20. windmill_api/api/job/list_filtered_jobs_uuids.py +633 -0
  21. windmill_api/api/job/{list_filtered_uuids.py → list_filtered_queue_uuids.py} +19 -4
  22. windmill_api/api/job/list_jobs.py +15 -0
  23. windmill_api/api/job/list_queue.py +15 -0
  24. windmill_api/api/job/list_selected_job_groups.py +104 -0
  25. windmill_api/models/add_granular_acls_kind.py +1 -0
  26. windmill_api/models/ai_config_code_completion_model_provider.py +1 -0
  27. windmill_api/models/ai_config_default_model_provider.py +1 -0
  28. windmill_api/models/ai_provider.py +1 -0
  29. windmill_api/models/ai_provider_model_provider.py +1 -0
  30. windmill_api/models/aws_auth_resource_type.py +9 -0
  31. windmill_api/models/batch_re_run_jobs_json_body.py +84 -0
  32. windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path.py +66 -0
  33. windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property.py +86 -0
  34. windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms.py +123 -0
  35. windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_0.py +78 -0
  36. windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_0_type.py +8 -0
  37. windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_1.py +75 -0
  38. windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_1_type.py +8 -0
  39. windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path.py +66 -0
  40. windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property.py +86 -0
  41. windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms.py +123 -0
  42. windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_0.py +78 -0
  43. windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_0_type.py +8 -0
  44. windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_1.py +75 -0
  45. windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_1_type.py +8 -0
  46. windmill_api/models/capture_config_trigger_kind.py +1 -0
  47. windmill_api/models/capture_trigger_kind.py +1 -0
  48. windmill_api/models/create_agent_token_json_body.py +73 -0
  49. windmill_api/models/create_gcp_trigger_json_body.py +115 -0
  50. windmill_api/models/create_gcp_trigger_json_body_subscription_mode.py +69 -0
  51. windmill_api/models/create_gcp_trigger_json_body_subscription_mode_subscription_mode.py +9 -0
  52. windmill_api/models/create_sqs_trigger_json_body.py +9 -0
  53. windmill_api/models/create_sqs_trigger_json_body_aws_auth_resource_type.py +9 -0
  54. windmill_api/models/delete_gcp_subscription.py +58 -0
  55. windmill_api/models/delete_gcp_subscription_json_body.py +58 -0
  56. windmill_api/models/delivery_type.py +9 -0
  57. windmill_api/models/edit_copilot_config_json_body_code_completion_model_provider.py +1 -0
  58. windmill_api/models/edit_copilot_config_json_body_default_model_provider.py +1 -0
  59. windmill_api/models/edit_gcp_trigger.py +114 -0
  60. windmill_api/models/edit_gcp_trigger_subscription_mode.py +66 -0
  61. windmill_api/models/edit_gcp_trigger_subscription_mode_subscription_mode.py +9 -0
  62. windmill_api/models/edit_sqs_trigger.py +9 -0
  63. windmill_api/models/edit_sqs_trigger_aws_auth_resource_type.py +9 -0
  64. windmill_api/models/gcp_create_update_subscription.py +91 -0
  65. windmill_api/models/gcp_create_update_subscription_delivery_config.py +75 -0
  66. windmill_api/models/gcp_create_update_subscription_delivery_type.py +9 -0
  67. windmill_api/models/gcp_existing_subscription.py +65 -0
  68. windmill_api/models/gcp_subscription_mode_config.py +66 -0
  69. windmill_api/models/gcp_subscription_mode_config_subscription_mode.py +9 -0
  70. windmill_api/models/gcp_trigger.py +206 -0
  71. windmill_api/models/gcp_trigger_delivery_config.py +75 -0
  72. windmill_api/models/gcp_trigger_delivery_type.py +9 -0
  73. windmill_api/models/gcp_trigger_extra_perms.py +44 -0
  74. windmill_api/models/get_all_topic_subscription.py +58 -0
  75. windmill_api/models/get_capture_configs_response_200_item_trigger_kind.py +1 -0
  76. windmill_api/models/get_capture_response_200_trigger_kind.py +1 -0
  77. windmill_api/models/get_copilot_info_response_200_code_completion_model_provider.py +1 -0
  78. windmill_api/models/get_copilot_info_response_200_default_model_provider.py +1 -0
  79. windmill_api/models/get_gcp_trigger_response_200.py +206 -0
  80. windmill_api/models/get_gcp_trigger_response_200_delivery_config.py +75 -0
  81. windmill_api/models/get_gcp_trigger_response_200_delivery_type.py +9 -0
  82. windmill_api/models/get_gcp_trigger_response_200_extra_perms.py +44 -0
  83. windmill_api/models/get_granular_acls_kind.py +1 -0
  84. windmill_api/models/get_settings_response_200_ai_config_code_completion_model_provider.py +1 -0
  85. windmill_api/models/get_settings_response_200_ai_config_default_model_provider.py +1 -0
  86. windmill_api/models/get_sqs_trigger_response_200.py +9 -0
  87. windmill_api/models/get_sqs_trigger_response_200_aws_auth_resource_type.py +9 -0
  88. windmill_api/models/get_triggers_count_of_flow_response_200.py +8 -0
  89. windmill_api/models/get_triggers_count_of_script_response_200.py +8 -0
  90. windmill_api/models/get_used_triggers_response_200.py +7 -0
  91. windmill_api/models/list_all_t_google_topic_subscriptions_json_body.py +58 -0
  92. windmill_api/models/list_captures_response_200_item_trigger_kind.py +1 -0
  93. windmill_api/models/list_captures_trigger_kind.py +1 -0
  94. windmill_api/models/list_gcp_triggers_response_200_item.py +210 -0
  95. windmill_api/models/list_gcp_triggers_response_200_item_delivery_config.py +75 -0
  96. windmill_api/models/list_gcp_triggers_response_200_item_delivery_type.py +9 -0
  97. windmill_api/models/list_gcp_triggers_response_200_item_extra_perms.py +44 -0
  98. windmill_api/models/list_sqs_triggers_response_200_item.py +11 -0
  99. windmill_api/models/list_sqs_triggers_response_200_item_aws_auth_resource_type.py +9 -0
  100. windmill_api/models/new_gcp_trigger.py +114 -0
  101. windmill_api/models/new_gcp_trigger_subscription_mode.py +66 -0
  102. windmill_api/models/new_gcp_trigger_subscription_mode_subscription_mode.py +9 -0
  103. windmill_api/models/new_sqs_trigger.py +9 -0
  104. windmill_api/models/new_sqs_trigger_aws_auth_resource_type.py +9 -0
  105. windmill_api/models/ping_capture_config_trigger_kind.py +1 -0
  106. windmill_api/models/preview.py +8 -0
  107. windmill_api/models/push_config.py +75 -0
  108. windmill_api/models/remove_granular_acls_kind.py +1 -0
  109. windmill_api/models/run_script_preview_json_body.py +8 -0
  110. windmill_api/models/s3_object.py +84 -0
  111. windmill_api/models/set_capture_config_json_body_trigger_kind.py +1 -0
  112. windmill_api/models/set_capture_config_response_200.py +44 -0
  113. windmill_api/models/set_gcp_trigger_enabled_json_body.py +58 -0
  114. windmill_api/models/sign_s3_objects_json_body.py +73 -0
  115. windmill_api/models/sign_s3_objects_json_body_s3_objects_item.py +84 -0
  116. windmill_api/models/sign_s3_objects_response_200_item.py +84 -0
  117. windmill_api/models/sqs_trigger.py +9 -0
  118. windmill_api/models/sqs_trigger_aws_auth_resource_type.py +9 -0
  119. windmill_api/models/subscription_mode.py +9 -0
  120. windmill_api/models/test_gcp_connection_json_body.py +64 -0
  121. windmill_api/models/test_gcp_connection_json_body_connection.py +44 -0
  122. windmill_api/models/triggers_count.py +8 -0
  123. windmill_api/models/update_gcp_trigger_json_body.py +115 -0
  124. windmill_api/models/update_gcp_trigger_json_body_subscription_mode.py +69 -0
  125. windmill_api/models/update_gcp_trigger_json_body_subscription_mode_subscription_mode.py +9 -0
  126. windmill_api/models/update_sqs_trigger_json_body.py +9 -0
  127. windmill_api/models/update_sqs_trigger_json_body_aws_auth_resource_type.py +9 -0
  128. {windmill_api-1.481.0.dist-info → windmill_api-1.483.0.dist-info}/METADATA +1 -1
  129. {windmill_api-1.481.0.dist-info → windmill_api-1.483.0.dist-info}/RECORD +131 -44
  130. {windmill_api-1.481.0.dist-info → windmill_api-1.483.0.dist-info}/LICENSE +0 -0
  131. {windmill_api-1.481.0.dist-info → windmill_api-1.483.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,115 @@
1
+ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ from ..types import UNSET, Unset
7
+
8
+ if TYPE_CHECKING:
9
+ from ..models.update_gcp_trigger_json_body_subscription_mode import UpdateGcpTriggerJsonBodySubscriptionMode
10
+
11
+
12
+ T = TypeVar("T", bound="UpdateGcpTriggerJsonBody")
13
+
14
+
15
+ @_attrs_define
16
+ class UpdateGcpTriggerJsonBody:
17
+ """
18
+ Attributes:
19
+ topic_id (str):
20
+ subscription_mode (UpdateGcpTriggerJsonBodySubscriptionMode): "This is a union type representing the
21
+ subscription mode.
22
+ - 'existing': Represents an existing GCP subscription, and should be accompanied by an
23
+ 'ExistingGcpSubscription' object.
24
+ - 'create_update': Represents a new or updated GCP subscription, and should be accompanied by a
25
+ 'CreateUpdateConfig' object."
26
+ path (str):
27
+ script_path (str):
28
+ is_flow (bool):
29
+ enabled (bool):
30
+ gcp_resource_path (Union[Unset, str]):
31
+ """
32
+
33
+ topic_id: str
34
+ subscription_mode: "UpdateGcpTriggerJsonBodySubscriptionMode"
35
+ path: str
36
+ script_path: str
37
+ is_flow: bool
38
+ enabled: bool
39
+ gcp_resource_path: Union[Unset, str] = UNSET
40
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
41
+
42
+ def to_dict(self) -> Dict[str, Any]:
43
+ topic_id = self.topic_id
44
+ subscription_mode = self.subscription_mode.to_dict()
45
+
46
+ path = self.path
47
+ script_path = self.script_path
48
+ is_flow = self.is_flow
49
+ enabled = self.enabled
50
+ gcp_resource_path = self.gcp_resource_path
51
+
52
+ field_dict: Dict[str, Any] = {}
53
+ field_dict.update(self.additional_properties)
54
+ field_dict.update(
55
+ {
56
+ "topic_id": topic_id,
57
+ "subscription_mode": subscription_mode,
58
+ "path": path,
59
+ "script_path": script_path,
60
+ "is_flow": is_flow,
61
+ "enabled": enabled,
62
+ }
63
+ )
64
+ if gcp_resource_path is not UNSET:
65
+ field_dict["gcp_resource_path"] = gcp_resource_path
66
+
67
+ return field_dict
68
+
69
+ @classmethod
70
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
71
+ from ..models.update_gcp_trigger_json_body_subscription_mode import UpdateGcpTriggerJsonBodySubscriptionMode
72
+
73
+ d = src_dict.copy()
74
+ topic_id = d.pop("topic_id")
75
+
76
+ subscription_mode = UpdateGcpTriggerJsonBodySubscriptionMode.from_dict(d.pop("subscription_mode"))
77
+
78
+ path = d.pop("path")
79
+
80
+ script_path = d.pop("script_path")
81
+
82
+ is_flow = d.pop("is_flow")
83
+
84
+ enabled = d.pop("enabled")
85
+
86
+ gcp_resource_path = d.pop("gcp_resource_path", UNSET)
87
+
88
+ update_gcp_trigger_json_body = cls(
89
+ topic_id=topic_id,
90
+ subscription_mode=subscription_mode,
91
+ path=path,
92
+ script_path=script_path,
93
+ is_flow=is_flow,
94
+ enabled=enabled,
95
+ gcp_resource_path=gcp_resource_path,
96
+ )
97
+
98
+ update_gcp_trigger_json_body.additional_properties = d
99
+ return update_gcp_trigger_json_body
100
+
101
+ @property
102
+ def additional_keys(self) -> List[str]:
103
+ return list(self.additional_properties.keys())
104
+
105
+ def __getitem__(self, key: str) -> Any:
106
+ return self.additional_properties[key]
107
+
108
+ def __setitem__(self, key: str, value: Any) -> None:
109
+ self.additional_properties[key] = value
110
+
111
+ def __delitem__(self, key: str) -> None:
112
+ del self.additional_properties[key]
113
+
114
+ def __contains__(self, key: str) -> bool:
115
+ return key in self.additional_properties
@@ -0,0 +1,69 @@
1
+ from typing import Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ from ..models.update_gcp_trigger_json_body_subscription_mode_subscription_mode import (
7
+ UpdateGcpTriggerJsonBodySubscriptionModeSubscriptionMode,
8
+ )
9
+
10
+ T = TypeVar("T", bound="UpdateGcpTriggerJsonBodySubscriptionMode")
11
+
12
+
13
+ @_attrs_define
14
+ class UpdateGcpTriggerJsonBodySubscriptionMode:
15
+ """ "This is a union type representing the subscription mode.
16
+ - 'existing': Represents an existing GCP subscription, and should be accompanied by an 'ExistingGcpSubscription'
17
+ object.
18
+ - 'create_update': Represents a new or updated GCP subscription, and should be accompanied by a
19
+ 'CreateUpdateConfig' object."
20
+
21
+ Attributes:
22
+ subscription_mode (UpdateGcpTriggerJsonBodySubscriptionModeSubscriptionMode): The mode of subscription.
23
+ 'existing' means using an existing GCP subscription, while 'create_update' involves creating or updating a new
24
+ subscription.
25
+ """
26
+
27
+ subscription_mode: UpdateGcpTriggerJsonBodySubscriptionModeSubscriptionMode
28
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
29
+
30
+ def to_dict(self) -> Dict[str, Any]:
31
+ subscription_mode = self.subscription_mode.value
32
+
33
+ field_dict: Dict[str, Any] = {}
34
+ field_dict.update(self.additional_properties)
35
+ field_dict.update(
36
+ {
37
+ "subscription_mode": subscription_mode,
38
+ }
39
+ )
40
+
41
+ return field_dict
42
+
43
+ @classmethod
44
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
45
+ d = src_dict.copy()
46
+ subscription_mode = UpdateGcpTriggerJsonBodySubscriptionModeSubscriptionMode(d.pop("subscription_mode"))
47
+
48
+ update_gcp_trigger_json_body_subscription_mode = cls(
49
+ subscription_mode=subscription_mode,
50
+ )
51
+
52
+ update_gcp_trigger_json_body_subscription_mode.additional_properties = d
53
+ return update_gcp_trigger_json_body_subscription_mode
54
+
55
+ @property
56
+ def additional_keys(self) -> List[str]:
57
+ return list(self.additional_properties.keys())
58
+
59
+ def __getitem__(self, key: str) -> Any:
60
+ return self.additional_properties[key]
61
+
62
+ def __setitem__(self, key: str, value: Any) -> None:
63
+ self.additional_properties[key] = value
64
+
65
+ def __delitem__(self, key: str) -> None:
66
+ del self.additional_properties[key]
67
+
68
+ def __contains__(self, key: str) -> bool:
69
+ return key in self.additional_properties
@@ -0,0 +1,9 @@
1
+ from enum import Enum
2
+
3
+
4
+ class UpdateGcpTriggerJsonBodySubscriptionModeSubscriptionMode(str, Enum):
5
+ CREATE_UPDATE = "create_update"
6
+ EXISTING = "existing"
7
+
8
+ def __str__(self) -> str:
9
+ return str(self.value)
@@ -3,6 +3,7 @@ from typing import Any, Dict, List, Type, TypeVar, Union, cast
3
3
  from attrs import define as _attrs_define
4
4
  from attrs import field as _attrs_field
5
5
 
6
+ from ..models.update_sqs_trigger_json_body_aws_auth_resource_type import UpdateSqsTriggerJsonBodyAwsAuthResourceType
6
7
  from ..types import UNSET, Unset
7
8
 
8
9
  T = TypeVar("T", bound="UpdateSqsTriggerJsonBody")
@@ -13,6 +14,7 @@ class UpdateSqsTriggerJsonBody:
13
14
  """
14
15
  Attributes:
15
16
  queue_url (str):
17
+ aws_auth_resource_type (UpdateSqsTriggerJsonBodyAwsAuthResourceType):
16
18
  aws_resource_path (str):
17
19
  path (str):
18
20
  script_path (str):
@@ -22,6 +24,7 @@ class UpdateSqsTriggerJsonBody:
22
24
  """
23
25
 
24
26
  queue_url: str
27
+ aws_auth_resource_type: UpdateSqsTriggerJsonBodyAwsAuthResourceType
25
28
  aws_resource_path: str
26
29
  path: str
27
30
  script_path: str
@@ -32,6 +35,8 @@ class UpdateSqsTriggerJsonBody:
32
35
 
33
36
  def to_dict(self) -> Dict[str, Any]:
34
37
  queue_url = self.queue_url
38
+ aws_auth_resource_type = self.aws_auth_resource_type.value
39
+
35
40
  aws_resource_path = self.aws_resource_path
36
41
  path = self.path
37
42
  script_path = self.script_path
@@ -46,6 +51,7 @@ class UpdateSqsTriggerJsonBody:
46
51
  field_dict.update(
47
52
  {
48
53
  "queue_url": queue_url,
54
+ "aws_auth_resource_type": aws_auth_resource_type,
49
55
  "aws_resource_path": aws_resource_path,
50
56
  "path": path,
51
57
  "script_path": script_path,
@@ -63,6 +69,8 @@ class UpdateSqsTriggerJsonBody:
63
69
  d = src_dict.copy()
64
70
  queue_url = d.pop("queue_url")
65
71
 
72
+ aws_auth_resource_type = UpdateSqsTriggerJsonBodyAwsAuthResourceType(d.pop("aws_auth_resource_type"))
73
+
66
74
  aws_resource_path = d.pop("aws_resource_path")
67
75
 
68
76
  path = d.pop("path")
@@ -77,6 +85,7 @@ class UpdateSqsTriggerJsonBody:
77
85
 
78
86
  update_sqs_trigger_json_body = cls(
79
87
  queue_url=queue_url,
88
+ aws_auth_resource_type=aws_auth_resource_type,
80
89
  aws_resource_path=aws_resource_path,
81
90
  path=path,
82
91
  script_path=script_path,
@@ -0,0 +1,9 @@
1
+ from enum import Enum
2
+
3
+
4
+ class UpdateSqsTriggerJsonBodyAwsAuthResourceType(str, Enum):
5
+ CREDENTIALS = "credentials"
6
+ OIDC = "oidc"
7
+
8
+ def __str__(self) -> str:
9
+ return str(self.value)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: windmill-api
3
- Version: 1.481.0
3
+ Version: 1.483.0
4
4
  Summary: A client library for accessing Windmill API
5
5
  License: Apache-2.0
6
6
  Author: Ruben Fiszel