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.
- windmill_api/api/agent_workers/__init__.py +0 -0
- windmill_api/api/agent_workers/create_agent_token.py +149 -0
- windmill_api/api/app/sign_s3_objects.py +175 -0
- windmill_api/api/capture/set_capture_config.py +70 -7
- windmill_api/api/concurrency_groups/list_extended_jobs.py +15 -0
- windmill_api/api/gcp_trigger/__init__.py +0 -0
- windmill_api/api/gcp_trigger/create_gcp_trigger.py +105 -0
- windmill_api/api/gcp_trigger/delete_gcp_subscription.py +113 -0
- windmill_api/api/gcp_trigger/delete_gcp_trigger.py +101 -0
- windmill_api/api/gcp_trigger/exists_gcp_trigger.py +160 -0
- windmill_api/api/gcp_trigger/get_gcp_trigger.py +166 -0
- windmill_api/api/gcp_trigger/list_all_t_google_topic_subscriptions.py +179 -0
- windmill_api/api/gcp_trigger/list_gcp_triggers.py +237 -0
- windmill_api/api/gcp_trigger/list_google_topics.py +161 -0
- windmill_api/api/gcp_trigger/set_gcp_trigger_enabled.py +113 -0
- windmill_api/api/gcp_trigger/test_gcp_connection.py +105 -0
- windmill_api/api/gcp_trigger/update_gcp_trigger.py +113 -0
- windmill_api/api/job/batch_re_run_jobs.py +105 -0
- windmill_api/api/job/list_completed_jobs.py +15 -0
- windmill_api/api/job/list_filtered_jobs_uuids.py +633 -0
- windmill_api/api/job/{list_filtered_uuids.py → list_filtered_queue_uuids.py} +19 -4
- windmill_api/api/job/list_jobs.py +15 -0
- windmill_api/api/job/list_queue.py +15 -0
- windmill_api/api/job/list_selected_job_groups.py +104 -0
- windmill_api/models/add_granular_acls_kind.py +1 -0
- windmill_api/models/ai_config_code_completion_model_provider.py +1 -0
- windmill_api/models/ai_config_default_model_provider.py +1 -0
- windmill_api/models/ai_provider.py +1 -0
- windmill_api/models/ai_provider_model_provider.py +1 -0
- windmill_api/models/aws_auth_resource_type.py +9 -0
- windmill_api/models/batch_re_run_jobs_json_body.py +84 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path.py +66 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property.py +86 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms.py +123 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_0.py +78 -0
- 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
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_1.py +75 -0
- 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
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path.py +66 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property.py +86 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms.py +123 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_0.py +78 -0
- 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
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_1.py +75 -0
- 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
- windmill_api/models/capture_config_trigger_kind.py +1 -0
- windmill_api/models/capture_trigger_kind.py +1 -0
- windmill_api/models/create_agent_token_json_body.py +73 -0
- windmill_api/models/create_gcp_trigger_json_body.py +115 -0
- windmill_api/models/create_gcp_trigger_json_body_subscription_mode.py +69 -0
- windmill_api/models/create_gcp_trigger_json_body_subscription_mode_subscription_mode.py +9 -0
- windmill_api/models/create_sqs_trigger_json_body.py +9 -0
- windmill_api/models/create_sqs_trigger_json_body_aws_auth_resource_type.py +9 -0
- windmill_api/models/delete_gcp_subscription.py +58 -0
- windmill_api/models/delete_gcp_subscription_json_body.py +58 -0
- windmill_api/models/delivery_type.py +9 -0
- windmill_api/models/edit_copilot_config_json_body_code_completion_model_provider.py +1 -0
- windmill_api/models/edit_copilot_config_json_body_default_model_provider.py +1 -0
- windmill_api/models/edit_gcp_trigger.py +114 -0
- windmill_api/models/edit_gcp_trigger_subscription_mode.py +66 -0
- windmill_api/models/edit_gcp_trigger_subscription_mode_subscription_mode.py +9 -0
- windmill_api/models/edit_sqs_trigger.py +9 -0
- windmill_api/models/edit_sqs_trigger_aws_auth_resource_type.py +9 -0
- windmill_api/models/gcp_create_update_subscription.py +91 -0
- windmill_api/models/gcp_create_update_subscription_delivery_config.py +75 -0
- windmill_api/models/gcp_create_update_subscription_delivery_type.py +9 -0
- windmill_api/models/gcp_existing_subscription.py +65 -0
- windmill_api/models/gcp_subscription_mode_config.py +66 -0
- windmill_api/models/gcp_subscription_mode_config_subscription_mode.py +9 -0
- windmill_api/models/gcp_trigger.py +206 -0
- windmill_api/models/gcp_trigger_delivery_config.py +75 -0
- windmill_api/models/gcp_trigger_delivery_type.py +9 -0
- windmill_api/models/gcp_trigger_extra_perms.py +44 -0
- windmill_api/models/get_all_topic_subscription.py +58 -0
- windmill_api/models/get_capture_configs_response_200_item_trigger_kind.py +1 -0
- windmill_api/models/get_capture_response_200_trigger_kind.py +1 -0
- windmill_api/models/get_copilot_info_response_200_code_completion_model_provider.py +1 -0
- windmill_api/models/get_copilot_info_response_200_default_model_provider.py +1 -0
- windmill_api/models/get_gcp_trigger_response_200.py +206 -0
- windmill_api/models/get_gcp_trigger_response_200_delivery_config.py +75 -0
- windmill_api/models/get_gcp_trigger_response_200_delivery_type.py +9 -0
- windmill_api/models/get_gcp_trigger_response_200_extra_perms.py +44 -0
- windmill_api/models/get_granular_acls_kind.py +1 -0
- windmill_api/models/get_settings_response_200_ai_config_code_completion_model_provider.py +1 -0
- windmill_api/models/get_settings_response_200_ai_config_default_model_provider.py +1 -0
- windmill_api/models/get_sqs_trigger_response_200.py +9 -0
- windmill_api/models/get_sqs_trigger_response_200_aws_auth_resource_type.py +9 -0
- windmill_api/models/get_triggers_count_of_flow_response_200.py +8 -0
- windmill_api/models/get_triggers_count_of_script_response_200.py +8 -0
- windmill_api/models/get_used_triggers_response_200.py +7 -0
- windmill_api/models/list_all_t_google_topic_subscriptions_json_body.py +58 -0
- windmill_api/models/list_captures_response_200_item_trigger_kind.py +1 -0
- windmill_api/models/list_captures_trigger_kind.py +1 -0
- windmill_api/models/list_gcp_triggers_response_200_item.py +210 -0
- windmill_api/models/list_gcp_triggers_response_200_item_delivery_config.py +75 -0
- windmill_api/models/list_gcp_triggers_response_200_item_delivery_type.py +9 -0
- windmill_api/models/list_gcp_triggers_response_200_item_extra_perms.py +44 -0
- windmill_api/models/list_sqs_triggers_response_200_item.py +11 -0
- windmill_api/models/list_sqs_triggers_response_200_item_aws_auth_resource_type.py +9 -0
- windmill_api/models/new_gcp_trigger.py +114 -0
- windmill_api/models/new_gcp_trigger_subscription_mode.py +66 -0
- windmill_api/models/new_gcp_trigger_subscription_mode_subscription_mode.py +9 -0
- windmill_api/models/new_sqs_trigger.py +9 -0
- windmill_api/models/new_sqs_trigger_aws_auth_resource_type.py +9 -0
- windmill_api/models/ping_capture_config_trigger_kind.py +1 -0
- windmill_api/models/preview.py +8 -0
- windmill_api/models/push_config.py +75 -0
- windmill_api/models/remove_granular_acls_kind.py +1 -0
- windmill_api/models/run_script_preview_json_body.py +8 -0
- windmill_api/models/s3_object.py +84 -0
- windmill_api/models/set_capture_config_json_body_trigger_kind.py +1 -0
- windmill_api/models/set_capture_config_response_200.py +44 -0
- windmill_api/models/set_gcp_trigger_enabled_json_body.py +58 -0
- windmill_api/models/sign_s3_objects_json_body.py +73 -0
- windmill_api/models/sign_s3_objects_json_body_s3_objects_item.py +84 -0
- windmill_api/models/sign_s3_objects_response_200_item.py +84 -0
- windmill_api/models/sqs_trigger.py +9 -0
- windmill_api/models/sqs_trigger_aws_auth_resource_type.py +9 -0
- windmill_api/models/subscription_mode.py +9 -0
- windmill_api/models/test_gcp_connection_json_body.py +64 -0
- windmill_api/models/test_gcp_connection_json_body_connection.py +44 -0
- windmill_api/models/triggers_count.py +8 -0
- windmill_api/models/update_gcp_trigger_json_body.py +115 -0
- windmill_api/models/update_gcp_trigger_json_body_subscription_mode.py +69 -0
- windmill_api/models/update_gcp_trigger_json_body_subscription_mode_subscription_mode.py +9 -0
- windmill_api/models/update_sqs_trigger_json_body.py +9 -0
- windmill_api/models/update_sqs_trigger_json_body_aws_auth_resource_type.py +9 -0
- {windmill_api-1.481.0.dist-info → windmill_api-1.483.0.dist-info}/METADATA +1 -1
- {windmill_api-1.481.0.dist-info → windmill_api-1.483.0.dist-info}/RECORD +131 -44
- {windmill_api-1.481.0.dist-info → windmill_api-1.483.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.481.0.dist-info → windmill_api-1.483.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
from typing import 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
|
+
T = TypeVar("T", bound="S3Object")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class S3Object:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
s3 (str):
|
|
16
|
+
filename (Union[Unset, str]):
|
|
17
|
+
storage (Union[Unset, str]):
|
|
18
|
+
presigned (Union[Unset, str]):
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
s3: str
|
|
22
|
+
filename: Union[Unset, str] = UNSET
|
|
23
|
+
storage: Union[Unset, str] = UNSET
|
|
24
|
+
presigned: Union[Unset, str] = UNSET
|
|
25
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
28
|
+
s3 = self.s3
|
|
29
|
+
filename = self.filename
|
|
30
|
+
storage = self.storage
|
|
31
|
+
presigned = self.presigned
|
|
32
|
+
|
|
33
|
+
field_dict: Dict[str, Any] = {}
|
|
34
|
+
field_dict.update(self.additional_properties)
|
|
35
|
+
field_dict.update(
|
|
36
|
+
{
|
|
37
|
+
"s3": s3,
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
if filename is not UNSET:
|
|
41
|
+
field_dict["filename"] = filename
|
|
42
|
+
if storage is not UNSET:
|
|
43
|
+
field_dict["storage"] = storage
|
|
44
|
+
if presigned is not UNSET:
|
|
45
|
+
field_dict["presigned"] = presigned
|
|
46
|
+
|
|
47
|
+
return field_dict
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
51
|
+
d = src_dict.copy()
|
|
52
|
+
s3 = d.pop("s3")
|
|
53
|
+
|
|
54
|
+
filename = d.pop("filename", UNSET)
|
|
55
|
+
|
|
56
|
+
storage = d.pop("storage", UNSET)
|
|
57
|
+
|
|
58
|
+
presigned = d.pop("presigned", UNSET)
|
|
59
|
+
|
|
60
|
+
s3_object = cls(
|
|
61
|
+
s3=s3,
|
|
62
|
+
filename=filename,
|
|
63
|
+
storage=storage,
|
|
64
|
+
presigned=presigned,
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
s3_object.additional_properties = d
|
|
68
|
+
return s3_object
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def additional_keys(self) -> List[str]:
|
|
72
|
+
return list(self.additional_properties.keys())
|
|
73
|
+
|
|
74
|
+
def __getitem__(self, key: str) -> Any:
|
|
75
|
+
return self.additional_properties[key]
|
|
76
|
+
|
|
77
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
78
|
+
self.additional_properties[key] = value
|
|
79
|
+
|
|
80
|
+
def __delitem__(self, key: str) -> None:
|
|
81
|
+
del self.additional_properties[key]
|
|
82
|
+
|
|
83
|
+
def __contains__(self, key: str) -> bool:
|
|
84
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
T = TypeVar("T", bound="SetCaptureConfigResponse200")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class SetCaptureConfigResponse200:
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
14
|
+
|
|
15
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
16
|
+
field_dict: Dict[str, Any] = {}
|
|
17
|
+
field_dict.update(self.additional_properties)
|
|
18
|
+
field_dict.update({})
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
24
|
+
d = src_dict.copy()
|
|
25
|
+
set_capture_config_response_200 = cls()
|
|
26
|
+
|
|
27
|
+
set_capture_config_response_200.additional_properties = d
|
|
28
|
+
return set_capture_config_response_200
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> List[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> Any:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
T = TypeVar("T", bound="SetGcpTriggerEnabledJsonBody")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class SetGcpTriggerEnabledJsonBody:
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
enabled (bool):
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
enabled: bool
|
|
17
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
18
|
+
|
|
19
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
20
|
+
enabled = self.enabled
|
|
21
|
+
|
|
22
|
+
field_dict: Dict[str, Any] = {}
|
|
23
|
+
field_dict.update(self.additional_properties)
|
|
24
|
+
field_dict.update(
|
|
25
|
+
{
|
|
26
|
+
"enabled": enabled,
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return field_dict
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
34
|
+
d = src_dict.copy()
|
|
35
|
+
enabled = d.pop("enabled")
|
|
36
|
+
|
|
37
|
+
set_gcp_trigger_enabled_json_body = cls(
|
|
38
|
+
enabled=enabled,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
set_gcp_trigger_enabled_json_body.additional_properties = d
|
|
42
|
+
return set_gcp_trigger_enabled_json_body
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def additional_keys(self) -> List[str]:
|
|
46
|
+
return list(self.additional_properties.keys())
|
|
47
|
+
|
|
48
|
+
def __getitem__(self, key: str) -> Any:
|
|
49
|
+
return self.additional_properties[key]
|
|
50
|
+
|
|
51
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
52
|
+
self.additional_properties[key] = value
|
|
53
|
+
|
|
54
|
+
def __delitem__(self, key: str) -> None:
|
|
55
|
+
del self.additional_properties[key]
|
|
56
|
+
|
|
57
|
+
def __contains__(self, key: str) -> bool:
|
|
58
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from ..models.sign_s3_objects_json_body_s3_objects_item import SignS3ObjectsJsonBodyS3ObjectsItem
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
T = TypeVar("T", bound="SignS3ObjectsJsonBody")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class SignS3ObjectsJsonBody:
|
|
15
|
+
"""
|
|
16
|
+
Attributes:
|
|
17
|
+
s3_objects (List['SignS3ObjectsJsonBodyS3ObjectsItem']):
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
s3_objects: List["SignS3ObjectsJsonBodyS3ObjectsItem"]
|
|
21
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
s3_objects = []
|
|
25
|
+
for s3_objects_item_data in self.s3_objects:
|
|
26
|
+
s3_objects_item = s3_objects_item_data.to_dict()
|
|
27
|
+
|
|
28
|
+
s3_objects.append(s3_objects_item)
|
|
29
|
+
|
|
30
|
+
field_dict: Dict[str, Any] = {}
|
|
31
|
+
field_dict.update(self.additional_properties)
|
|
32
|
+
field_dict.update(
|
|
33
|
+
{
|
|
34
|
+
"s3_objects": s3_objects,
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
return field_dict
|
|
39
|
+
|
|
40
|
+
@classmethod
|
|
41
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
42
|
+
from ..models.sign_s3_objects_json_body_s3_objects_item import SignS3ObjectsJsonBodyS3ObjectsItem
|
|
43
|
+
|
|
44
|
+
d = src_dict.copy()
|
|
45
|
+
s3_objects = []
|
|
46
|
+
_s3_objects = d.pop("s3_objects")
|
|
47
|
+
for s3_objects_item_data in _s3_objects:
|
|
48
|
+
s3_objects_item = SignS3ObjectsJsonBodyS3ObjectsItem.from_dict(s3_objects_item_data)
|
|
49
|
+
|
|
50
|
+
s3_objects.append(s3_objects_item)
|
|
51
|
+
|
|
52
|
+
sign_s3_objects_json_body = cls(
|
|
53
|
+
s3_objects=s3_objects,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
sign_s3_objects_json_body.additional_properties = d
|
|
57
|
+
return sign_s3_objects_json_body
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def additional_keys(self) -> List[str]:
|
|
61
|
+
return list(self.additional_properties.keys())
|
|
62
|
+
|
|
63
|
+
def __getitem__(self, key: str) -> Any:
|
|
64
|
+
return self.additional_properties[key]
|
|
65
|
+
|
|
66
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
67
|
+
self.additional_properties[key] = value
|
|
68
|
+
|
|
69
|
+
def __delitem__(self, key: str) -> None:
|
|
70
|
+
del self.additional_properties[key]
|
|
71
|
+
|
|
72
|
+
def __contains__(self, key: str) -> bool:
|
|
73
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
from typing import 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
|
+
T = TypeVar("T", bound="SignS3ObjectsJsonBodyS3ObjectsItem")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class SignS3ObjectsJsonBodyS3ObjectsItem:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
s3 (str):
|
|
16
|
+
filename (Union[Unset, str]):
|
|
17
|
+
storage (Union[Unset, str]):
|
|
18
|
+
presigned (Union[Unset, str]):
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
s3: str
|
|
22
|
+
filename: Union[Unset, str] = UNSET
|
|
23
|
+
storage: Union[Unset, str] = UNSET
|
|
24
|
+
presigned: Union[Unset, str] = UNSET
|
|
25
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
28
|
+
s3 = self.s3
|
|
29
|
+
filename = self.filename
|
|
30
|
+
storage = self.storage
|
|
31
|
+
presigned = self.presigned
|
|
32
|
+
|
|
33
|
+
field_dict: Dict[str, Any] = {}
|
|
34
|
+
field_dict.update(self.additional_properties)
|
|
35
|
+
field_dict.update(
|
|
36
|
+
{
|
|
37
|
+
"s3": s3,
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
if filename is not UNSET:
|
|
41
|
+
field_dict["filename"] = filename
|
|
42
|
+
if storage is not UNSET:
|
|
43
|
+
field_dict["storage"] = storage
|
|
44
|
+
if presigned is not UNSET:
|
|
45
|
+
field_dict["presigned"] = presigned
|
|
46
|
+
|
|
47
|
+
return field_dict
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
51
|
+
d = src_dict.copy()
|
|
52
|
+
s3 = d.pop("s3")
|
|
53
|
+
|
|
54
|
+
filename = d.pop("filename", UNSET)
|
|
55
|
+
|
|
56
|
+
storage = d.pop("storage", UNSET)
|
|
57
|
+
|
|
58
|
+
presigned = d.pop("presigned", UNSET)
|
|
59
|
+
|
|
60
|
+
sign_s3_objects_json_body_s3_objects_item = cls(
|
|
61
|
+
s3=s3,
|
|
62
|
+
filename=filename,
|
|
63
|
+
storage=storage,
|
|
64
|
+
presigned=presigned,
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
sign_s3_objects_json_body_s3_objects_item.additional_properties = d
|
|
68
|
+
return sign_s3_objects_json_body_s3_objects_item
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def additional_keys(self) -> List[str]:
|
|
72
|
+
return list(self.additional_properties.keys())
|
|
73
|
+
|
|
74
|
+
def __getitem__(self, key: str) -> Any:
|
|
75
|
+
return self.additional_properties[key]
|
|
76
|
+
|
|
77
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
78
|
+
self.additional_properties[key] = value
|
|
79
|
+
|
|
80
|
+
def __delitem__(self, key: str) -> None:
|
|
81
|
+
del self.additional_properties[key]
|
|
82
|
+
|
|
83
|
+
def __contains__(self, key: str) -> bool:
|
|
84
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
from typing import 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
|
+
T = TypeVar("T", bound="SignS3ObjectsResponse200Item")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class SignS3ObjectsResponse200Item:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
s3 (str):
|
|
16
|
+
filename (Union[Unset, str]):
|
|
17
|
+
storage (Union[Unset, str]):
|
|
18
|
+
presigned (Union[Unset, str]):
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
s3: str
|
|
22
|
+
filename: Union[Unset, str] = UNSET
|
|
23
|
+
storage: Union[Unset, str] = UNSET
|
|
24
|
+
presigned: Union[Unset, str] = UNSET
|
|
25
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
28
|
+
s3 = self.s3
|
|
29
|
+
filename = self.filename
|
|
30
|
+
storage = self.storage
|
|
31
|
+
presigned = self.presigned
|
|
32
|
+
|
|
33
|
+
field_dict: Dict[str, Any] = {}
|
|
34
|
+
field_dict.update(self.additional_properties)
|
|
35
|
+
field_dict.update(
|
|
36
|
+
{
|
|
37
|
+
"s3": s3,
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
if filename is not UNSET:
|
|
41
|
+
field_dict["filename"] = filename
|
|
42
|
+
if storage is not UNSET:
|
|
43
|
+
field_dict["storage"] = storage
|
|
44
|
+
if presigned is not UNSET:
|
|
45
|
+
field_dict["presigned"] = presigned
|
|
46
|
+
|
|
47
|
+
return field_dict
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
51
|
+
d = src_dict.copy()
|
|
52
|
+
s3 = d.pop("s3")
|
|
53
|
+
|
|
54
|
+
filename = d.pop("filename", UNSET)
|
|
55
|
+
|
|
56
|
+
storage = d.pop("storage", UNSET)
|
|
57
|
+
|
|
58
|
+
presigned = d.pop("presigned", UNSET)
|
|
59
|
+
|
|
60
|
+
sign_s3_objects_response_200_item = cls(
|
|
61
|
+
s3=s3,
|
|
62
|
+
filename=filename,
|
|
63
|
+
storage=storage,
|
|
64
|
+
presigned=presigned,
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
sign_s3_objects_response_200_item.additional_properties = d
|
|
68
|
+
return sign_s3_objects_response_200_item
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def additional_keys(self) -> List[str]:
|
|
72
|
+
return list(self.additional_properties.keys())
|
|
73
|
+
|
|
74
|
+
def __getitem__(self, key: str) -> Any:
|
|
75
|
+
return self.additional_properties[key]
|
|
76
|
+
|
|
77
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
78
|
+
self.additional_properties[key] = value
|
|
79
|
+
|
|
80
|
+
def __delitem__(self, key: str) -> None:
|
|
81
|
+
del self.additional_properties[key]
|
|
82
|
+
|
|
83
|
+
def __contains__(self, key: str) -> bool:
|
|
84
|
+
return key in self.additional_properties
|
|
@@ -5,6 +5,7 @@ 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
|
+
from ..models.sqs_trigger_aws_auth_resource_type import SqsTriggerAwsAuthResourceType
|
|
8
9
|
from ..types import UNSET, Unset
|
|
9
10
|
|
|
10
11
|
if TYPE_CHECKING:
|
|
@@ -19,6 +20,7 @@ class SqsTrigger:
|
|
|
19
20
|
"""
|
|
20
21
|
Attributes:
|
|
21
22
|
queue_url (str):
|
|
23
|
+
aws_auth_resource_type (SqsTriggerAwsAuthResourceType):
|
|
22
24
|
aws_resource_path (str):
|
|
23
25
|
enabled (bool):
|
|
24
26
|
path (str):
|
|
@@ -36,6 +38,7 @@ class SqsTrigger:
|
|
|
36
38
|
"""
|
|
37
39
|
|
|
38
40
|
queue_url: str
|
|
41
|
+
aws_auth_resource_type: SqsTriggerAwsAuthResourceType
|
|
39
42
|
aws_resource_path: str
|
|
40
43
|
enabled: bool
|
|
41
44
|
path: str
|
|
@@ -54,6 +57,8 @@ class SqsTrigger:
|
|
|
54
57
|
|
|
55
58
|
def to_dict(self) -> Dict[str, Any]:
|
|
56
59
|
queue_url = self.queue_url
|
|
60
|
+
aws_auth_resource_type = self.aws_auth_resource_type.value
|
|
61
|
+
|
|
57
62
|
aws_resource_path = self.aws_resource_path
|
|
58
63
|
enabled = self.enabled
|
|
59
64
|
path = self.path
|
|
@@ -82,6 +87,7 @@ class SqsTrigger:
|
|
|
82
87
|
field_dict.update(
|
|
83
88
|
{
|
|
84
89
|
"queue_url": queue_url,
|
|
90
|
+
"aws_auth_resource_type": aws_auth_resource_type,
|
|
85
91
|
"aws_resource_path": aws_resource_path,
|
|
86
92
|
"enabled": enabled,
|
|
87
93
|
"path": path,
|
|
@@ -112,6 +118,8 @@ class SqsTrigger:
|
|
|
112
118
|
d = src_dict.copy()
|
|
113
119
|
queue_url = d.pop("queue_url")
|
|
114
120
|
|
|
121
|
+
aws_auth_resource_type = SqsTriggerAwsAuthResourceType(d.pop("aws_auth_resource_type"))
|
|
122
|
+
|
|
115
123
|
aws_resource_path = d.pop("aws_resource_path")
|
|
116
124
|
|
|
117
125
|
enabled = d.pop("enabled")
|
|
@@ -147,6 +155,7 @@ class SqsTrigger:
|
|
|
147
155
|
|
|
148
156
|
sqs_trigger = cls(
|
|
149
157
|
queue_url=queue_url,
|
|
158
|
+
aws_auth_resource_type=aws_auth_resource_type,
|
|
150
159
|
aws_resource_path=aws_resource_path,
|
|
151
160
|
enabled=enabled,
|
|
152
161
|
path=path,
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from ..models.test_gcp_connection_json_body_connection import TestGcpConnectionJsonBodyConnection
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
T = TypeVar("T", bound="TestGcpConnectionJsonBody")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class TestGcpConnectionJsonBody:
|
|
15
|
+
"""
|
|
16
|
+
Attributes:
|
|
17
|
+
connection (TestGcpConnectionJsonBodyConnection):
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
connection: "TestGcpConnectionJsonBodyConnection"
|
|
21
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
connection = self.connection.to_dict()
|
|
25
|
+
|
|
26
|
+
field_dict: Dict[str, Any] = {}
|
|
27
|
+
field_dict.update(self.additional_properties)
|
|
28
|
+
field_dict.update(
|
|
29
|
+
{
|
|
30
|
+
"connection": connection,
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
return field_dict
|
|
35
|
+
|
|
36
|
+
@classmethod
|
|
37
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
38
|
+
from ..models.test_gcp_connection_json_body_connection import TestGcpConnectionJsonBodyConnection
|
|
39
|
+
|
|
40
|
+
d = src_dict.copy()
|
|
41
|
+
connection = TestGcpConnectionJsonBodyConnection.from_dict(d.pop("connection"))
|
|
42
|
+
|
|
43
|
+
test_gcp_connection_json_body = cls(
|
|
44
|
+
connection=connection,
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
test_gcp_connection_json_body.additional_properties = d
|
|
48
|
+
return test_gcp_connection_json_body
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def additional_keys(self) -> List[str]:
|
|
52
|
+
return list(self.additional_properties.keys())
|
|
53
|
+
|
|
54
|
+
def __getitem__(self, key: str) -> Any:
|
|
55
|
+
return self.additional_properties[key]
|
|
56
|
+
|
|
57
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
58
|
+
self.additional_properties[key] = value
|
|
59
|
+
|
|
60
|
+
def __delitem__(self, key: str) -> None:
|
|
61
|
+
del self.additional_properties[key]
|
|
62
|
+
|
|
63
|
+
def __contains__(self, key: str) -> bool:
|
|
64
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
T = TypeVar("T", bound="TestGcpConnectionJsonBodyConnection")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class TestGcpConnectionJsonBodyConnection:
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
14
|
+
|
|
15
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
16
|
+
field_dict: Dict[str, Any] = {}
|
|
17
|
+
field_dict.update(self.additional_properties)
|
|
18
|
+
field_dict.update({})
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
24
|
+
d = src_dict.copy()
|
|
25
|
+
test_gcp_connection_json_body_connection = cls()
|
|
26
|
+
|
|
27
|
+
test_gcp_connection_json_body_connection.additional_properties = d
|
|
28
|
+
return test_gcp_connection_json_body_connection
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> List[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> Any:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -26,6 +26,7 @@ class TriggersCount:
|
|
|
26
26
|
kafka_count (Union[Unset, float]):
|
|
27
27
|
nats_count (Union[Unset, float]):
|
|
28
28
|
mqtt_count (Union[Unset, float]):
|
|
29
|
+
gcp_count (Union[Unset, float]):
|
|
29
30
|
sqs_count (Union[Unset, float]):
|
|
30
31
|
"""
|
|
31
32
|
|
|
@@ -39,6 +40,7 @@ class TriggersCount:
|
|
|
39
40
|
kafka_count: Union[Unset, float] = UNSET
|
|
40
41
|
nats_count: Union[Unset, float] = UNSET
|
|
41
42
|
mqtt_count: Union[Unset, float] = UNSET
|
|
43
|
+
gcp_count: Union[Unset, float] = UNSET
|
|
42
44
|
sqs_count: Union[Unset, float] = UNSET
|
|
43
45
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
44
46
|
|
|
@@ -56,6 +58,7 @@ class TriggersCount:
|
|
|
56
58
|
kafka_count = self.kafka_count
|
|
57
59
|
nats_count = self.nats_count
|
|
58
60
|
mqtt_count = self.mqtt_count
|
|
61
|
+
gcp_count = self.gcp_count
|
|
59
62
|
sqs_count = self.sqs_count
|
|
60
63
|
|
|
61
64
|
field_dict: Dict[str, Any] = {}
|
|
@@ -81,6 +84,8 @@ class TriggersCount:
|
|
|
81
84
|
field_dict["nats_count"] = nats_count
|
|
82
85
|
if mqtt_count is not UNSET:
|
|
83
86
|
field_dict["mqtt_count"] = mqtt_count
|
|
87
|
+
if gcp_count is not UNSET:
|
|
88
|
+
field_dict["gcp_count"] = gcp_count
|
|
84
89
|
if sqs_count is not UNSET:
|
|
85
90
|
field_dict["sqs_count"] = sqs_count
|
|
86
91
|
|
|
@@ -116,6 +121,8 @@ class TriggersCount:
|
|
|
116
121
|
|
|
117
122
|
mqtt_count = d.pop("mqtt_count", UNSET)
|
|
118
123
|
|
|
124
|
+
gcp_count = d.pop("gcp_count", UNSET)
|
|
125
|
+
|
|
119
126
|
sqs_count = d.pop("sqs_count", UNSET)
|
|
120
127
|
|
|
121
128
|
triggers_count = cls(
|
|
@@ -129,6 +136,7 @@ class TriggersCount:
|
|
|
129
136
|
kafka_count=kafka_count,
|
|
130
137
|
nats_count=nats_count,
|
|
131
138
|
mqtt_count=mqtt_count,
|
|
139
|
+
gcp_count=gcp_count,
|
|
132
140
|
sqs_count=sqs_count,
|
|
133
141
|
)
|
|
134
142
|
|