windmill-api 1.435.2__py3-none-any.whl → 1.437.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/app/get_app_lite_by_path.py +166 -0
- windmill_api/models/completed_job_job_kind.py +2 -0
- windmill_api/models/delete_completed_job_response_200_job_kind.py +2 -0
- windmill_api/models/execute_component_json_body.py +16 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_job_kind.py +2 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_job_kind.py +2 -0
- windmill_api/models/get_app_lite_by_path_response_200.py +147 -0
- windmill_api/models/get_app_lite_by_path_response_200_execution_mode.py +10 -0
- windmill_api/models/get_app_lite_by_path_response_200_extra_perms.py +44 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy.py +159 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_execution_mode.py +10 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_s3_inputs_item.py +44 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables.py +66 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables_additional_property.py +44 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables_v2.py +66 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables_v2_additional_property.py +44 -0
- windmill_api/models/get_app_lite_by_path_response_200_value.py +44 -0
- windmill_api/models/get_completed_job_response_200_job_kind.py +2 -0
- windmill_api/models/get_job_response_200_type_0_job_kind.py +2 -0
- windmill_api/models/get_job_response_200_type_1_job_kind.py +2 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_job_kind.py +2 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_job_kind.py +2 -0
- windmill_api/models/get_user_response_200.py +8 -0
- windmill_api/models/job_type_0_job_kind.py +2 -0
- windmill_api/models/job_type_1_job_kind.py +2 -0
- windmill_api/models/list_completed_jobs_response_200_item_job_kind.py +2 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_job_kind.py +2 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_job_kind.py +2 -0
- windmill_api/models/list_jobs_response_200_item_type_0_job_kind.py +2 -0
- windmill_api/models/list_jobs_response_200_item_type_1_job_kind.py +2 -0
- windmill_api/models/list_queue_response_200_item_job_kind.py +2 -0
- windmill_api/models/list_users_response_200_item.py +8 -0
- windmill_api/models/queued_job_job_kind.py +2 -0
- windmill_api/models/user.py +8 -0
- windmill_api/models/whoami_response_200.py +8 -0
- windmill_api/models/whois_response_200.py +8 -0
- {windmill_api-1.435.2.dist-info → windmill_api-1.437.0.dist-info}/METADATA +1 -1
- {windmill_api-1.435.2.dist-info → windmill_api-1.437.0.dist-info}/RECORD +40 -28
- {windmill_api-1.435.2.dist-info → windmill_api-1.437.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.435.2.dist-info → windmill_api-1.437.0.dist-info}/WHEEL +0 -0
|
@@ -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="GetAppLiteByPathResponse200PolicyS3InputsItem")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class GetAppLiteByPathResponse200PolicyS3InputsItem:
|
|
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
|
+
get_app_lite_by_path_response_200_policy_s3_inputs_item = cls()
|
|
26
|
+
|
|
27
|
+
get_app_lite_by_path_response_200_policy_s3_inputs_item.additional_properties = d
|
|
28
|
+
return get_app_lite_by_path_response_200_policy_s3_inputs_item
|
|
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,66 @@
|
|
|
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.get_app_lite_by_path_response_200_policy_triggerables_additional_property import (
|
|
8
|
+
GetAppLiteByPathResponse200PolicyTriggerablesAdditionalProperty,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
T = TypeVar("T", bound="GetAppLiteByPathResponse200PolicyTriggerables")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@_attrs_define
|
|
16
|
+
class GetAppLiteByPathResponse200PolicyTriggerables:
|
|
17
|
+
""" """
|
|
18
|
+
|
|
19
|
+
additional_properties: Dict[str, "GetAppLiteByPathResponse200PolicyTriggerablesAdditionalProperty"] = _attrs_field(
|
|
20
|
+
init=False, factory=dict
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
pass
|
|
25
|
+
|
|
26
|
+
field_dict: Dict[str, Any] = {}
|
|
27
|
+
for prop_name, prop in self.additional_properties.items():
|
|
28
|
+
field_dict[prop_name] = prop.to_dict()
|
|
29
|
+
|
|
30
|
+
field_dict.update({})
|
|
31
|
+
|
|
32
|
+
return field_dict
|
|
33
|
+
|
|
34
|
+
@classmethod
|
|
35
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
36
|
+
from ..models.get_app_lite_by_path_response_200_policy_triggerables_additional_property import (
|
|
37
|
+
GetAppLiteByPathResponse200PolicyTriggerablesAdditionalProperty,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
d = src_dict.copy()
|
|
41
|
+
get_app_lite_by_path_response_200_policy_triggerables = cls()
|
|
42
|
+
|
|
43
|
+
additional_properties = {}
|
|
44
|
+
for prop_name, prop_dict in d.items():
|
|
45
|
+
additional_property = GetAppLiteByPathResponse200PolicyTriggerablesAdditionalProperty.from_dict(prop_dict)
|
|
46
|
+
|
|
47
|
+
additional_properties[prop_name] = additional_property
|
|
48
|
+
|
|
49
|
+
get_app_lite_by_path_response_200_policy_triggerables.additional_properties = additional_properties
|
|
50
|
+
return get_app_lite_by_path_response_200_policy_triggerables
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def additional_keys(self) -> List[str]:
|
|
54
|
+
return list(self.additional_properties.keys())
|
|
55
|
+
|
|
56
|
+
def __getitem__(self, key: str) -> "GetAppLiteByPathResponse200PolicyTriggerablesAdditionalProperty":
|
|
57
|
+
return self.additional_properties[key]
|
|
58
|
+
|
|
59
|
+
def __setitem__(self, key: str, value: "GetAppLiteByPathResponse200PolicyTriggerablesAdditionalProperty") -> None:
|
|
60
|
+
self.additional_properties[key] = value
|
|
61
|
+
|
|
62
|
+
def __delitem__(self, key: str) -> None:
|
|
63
|
+
del self.additional_properties[key]
|
|
64
|
+
|
|
65
|
+
def __contains__(self, key: str) -> bool:
|
|
66
|
+
return key in self.additional_properties
|
windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables_additional_property.py
ADDED
|
@@ -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="GetAppLiteByPathResponse200PolicyTriggerablesAdditionalProperty")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class GetAppLiteByPathResponse200PolicyTriggerablesAdditionalProperty:
|
|
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
|
+
get_app_lite_by_path_response_200_policy_triggerables_additional_property = cls()
|
|
26
|
+
|
|
27
|
+
get_app_lite_by_path_response_200_policy_triggerables_additional_property.additional_properties = d
|
|
28
|
+
return get_app_lite_by_path_response_200_policy_triggerables_additional_property
|
|
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,66 @@
|
|
|
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.get_app_lite_by_path_response_200_policy_triggerables_v2_additional_property import (
|
|
8
|
+
GetAppLiteByPathResponse200PolicyTriggerablesV2AdditionalProperty,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
T = TypeVar("T", bound="GetAppLiteByPathResponse200PolicyTriggerablesV2")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@_attrs_define
|
|
16
|
+
class GetAppLiteByPathResponse200PolicyTriggerablesV2:
|
|
17
|
+
""" """
|
|
18
|
+
|
|
19
|
+
additional_properties: Dict[
|
|
20
|
+
str, "GetAppLiteByPathResponse200PolicyTriggerablesV2AdditionalProperty"
|
|
21
|
+
] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
pass
|
|
25
|
+
|
|
26
|
+
field_dict: Dict[str, Any] = {}
|
|
27
|
+
for prop_name, prop in self.additional_properties.items():
|
|
28
|
+
field_dict[prop_name] = prop.to_dict()
|
|
29
|
+
|
|
30
|
+
field_dict.update({})
|
|
31
|
+
|
|
32
|
+
return field_dict
|
|
33
|
+
|
|
34
|
+
@classmethod
|
|
35
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
36
|
+
from ..models.get_app_lite_by_path_response_200_policy_triggerables_v2_additional_property import (
|
|
37
|
+
GetAppLiteByPathResponse200PolicyTriggerablesV2AdditionalProperty,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
d = src_dict.copy()
|
|
41
|
+
get_app_lite_by_path_response_200_policy_triggerables_v2 = cls()
|
|
42
|
+
|
|
43
|
+
additional_properties = {}
|
|
44
|
+
for prop_name, prop_dict in d.items():
|
|
45
|
+
additional_property = GetAppLiteByPathResponse200PolicyTriggerablesV2AdditionalProperty.from_dict(prop_dict)
|
|
46
|
+
|
|
47
|
+
additional_properties[prop_name] = additional_property
|
|
48
|
+
|
|
49
|
+
get_app_lite_by_path_response_200_policy_triggerables_v2.additional_properties = additional_properties
|
|
50
|
+
return get_app_lite_by_path_response_200_policy_triggerables_v2
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def additional_keys(self) -> List[str]:
|
|
54
|
+
return list(self.additional_properties.keys())
|
|
55
|
+
|
|
56
|
+
def __getitem__(self, key: str) -> "GetAppLiteByPathResponse200PolicyTriggerablesV2AdditionalProperty":
|
|
57
|
+
return self.additional_properties[key]
|
|
58
|
+
|
|
59
|
+
def __setitem__(self, key: str, value: "GetAppLiteByPathResponse200PolicyTriggerablesV2AdditionalProperty") -> None:
|
|
60
|
+
self.additional_properties[key] = value
|
|
61
|
+
|
|
62
|
+
def __delitem__(self, key: str) -> None:
|
|
63
|
+
del self.additional_properties[key]
|
|
64
|
+
|
|
65
|
+
def __contains__(self, key: str) -> bool:
|
|
66
|
+
return key in self.additional_properties
|
windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables_v2_additional_property.py
ADDED
|
@@ -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="GetAppLiteByPathResponse200PolicyTriggerablesV2AdditionalProperty")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class GetAppLiteByPathResponse200PolicyTriggerablesV2AdditionalProperty:
|
|
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
|
+
get_app_lite_by_path_response_200_policy_triggerables_v2_additional_property = cls()
|
|
26
|
+
|
|
27
|
+
get_app_lite_by_path_response_200_policy_triggerables_v2_additional_property.additional_properties = d
|
|
28
|
+
return get_app_lite_by_path_response_200_policy_triggerables_v2_additional_property
|
|
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,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="GetAppLiteByPathResponse200Value")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class GetAppLiteByPathResponse200Value:
|
|
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
|
+
get_app_lite_by_path_response_200_value = cls()
|
|
26
|
+
|
|
27
|
+
get_app_lite_by_path_response_200_value.additional_properties = d
|
|
28
|
+
return get_app_lite_by_path_response_200_value
|
|
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
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class GetCompletedJobResponse200JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class GetJobResponse200Type0JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class GetJobResponse200Type1JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class GetSuspendedJobFlowResponse200JobType0JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class GetSuspendedJobFlowResponse200JobType1JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -23,6 +23,7 @@ class GetUserResponse200:
|
|
|
23
23
|
disabled (bool):
|
|
24
24
|
folders (List[str]):
|
|
25
25
|
folders_owners (List[str]):
|
|
26
|
+
name (Union[Unset, str]):
|
|
26
27
|
groups (Union[Unset, List[str]]):
|
|
27
28
|
"""
|
|
28
29
|
|
|
@@ -35,6 +36,7 @@ class GetUserResponse200:
|
|
|
35
36
|
disabled: bool
|
|
36
37
|
folders: List[str]
|
|
37
38
|
folders_owners: List[str]
|
|
39
|
+
name: Union[Unset, str] = UNSET
|
|
38
40
|
groups: Union[Unset, List[str]] = UNSET
|
|
39
41
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
40
42
|
|
|
@@ -51,6 +53,7 @@ class GetUserResponse200:
|
|
|
51
53
|
|
|
52
54
|
folders_owners = self.folders_owners
|
|
53
55
|
|
|
56
|
+
name = self.name
|
|
54
57
|
groups: Union[Unset, List[str]] = UNSET
|
|
55
58
|
if not isinstance(self.groups, Unset):
|
|
56
59
|
groups = self.groups
|
|
@@ -70,6 +73,8 @@ class GetUserResponse200:
|
|
|
70
73
|
"folders_owners": folders_owners,
|
|
71
74
|
}
|
|
72
75
|
)
|
|
76
|
+
if name is not UNSET:
|
|
77
|
+
field_dict["name"] = name
|
|
73
78
|
if groups is not UNSET:
|
|
74
79
|
field_dict["groups"] = groups
|
|
75
80
|
|
|
@@ -96,6 +101,8 @@ class GetUserResponse200:
|
|
|
96
101
|
|
|
97
102
|
folders_owners = cast(List[str], d.pop("folders_owners"))
|
|
98
103
|
|
|
104
|
+
name = d.pop("name", UNSET)
|
|
105
|
+
|
|
99
106
|
groups = cast(List[str], d.pop("groups", UNSET))
|
|
100
107
|
|
|
101
108
|
get_user_response_200 = cls(
|
|
@@ -108,6 +115,7 @@ class GetUserResponse200:
|
|
|
108
115
|
disabled=disabled,
|
|
109
116
|
folders=folders,
|
|
110
117
|
folders_owners=folders_owners,
|
|
118
|
+
name=name,
|
|
111
119
|
groups=groups,
|
|
112
120
|
)
|
|
113
121
|
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class JobType0JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class JobType1JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class ListCompletedJobsResponse200ItemJobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class ListExtendedJobsResponse200JobsItemType0JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class ListExtendedJobsResponse200JobsItemType1JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class ListJobsResponse200ItemType0JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class ListJobsResponse200ItemType1JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class ListQueueResponse200ItemJobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -23,6 +23,7 @@ class ListUsersResponse200Item:
|
|
|
23
23
|
disabled (bool):
|
|
24
24
|
folders (List[str]):
|
|
25
25
|
folders_owners (List[str]):
|
|
26
|
+
name (Union[Unset, str]):
|
|
26
27
|
groups (Union[Unset, List[str]]):
|
|
27
28
|
"""
|
|
28
29
|
|
|
@@ -35,6 +36,7 @@ class ListUsersResponse200Item:
|
|
|
35
36
|
disabled: bool
|
|
36
37
|
folders: List[str]
|
|
37
38
|
folders_owners: List[str]
|
|
39
|
+
name: Union[Unset, str] = UNSET
|
|
38
40
|
groups: Union[Unset, List[str]] = UNSET
|
|
39
41
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
40
42
|
|
|
@@ -51,6 +53,7 @@ class ListUsersResponse200Item:
|
|
|
51
53
|
|
|
52
54
|
folders_owners = self.folders_owners
|
|
53
55
|
|
|
56
|
+
name = self.name
|
|
54
57
|
groups: Union[Unset, List[str]] = UNSET
|
|
55
58
|
if not isinstance(self.groups, Unset):
|
|
56
59
|
groups = self.groups
|
|
@@ -70,6 +73,8 @@ class ListUsersResponse200Item:
|
|
|
70
73
|
"folders_owners": folders_owners,
|
|
71
74
|
}
|
|
72
75
|
)
|
|
76
|
+
if name is not UNSET:
|
|
77
|
+
field_dict["name"] = name
|
|
73
78
|
if groups is not UNSET:
|
|
74
79
|
field_dict["groups"] = groups
|
|
75
80
|
|
|
@@ -96,6 +101,8 @@ class ListUsersResponse200Item:
|
|
|
96
101
|
|
|
97
102
|
folders_owners = cast(List[str], d.pop("folders_owners"))
|
|
98
103
|
|
|
104
|
+
name = d.pop("name", UNSET)
|
|
105
|
+
|
|
99
106
|
groups = cast(List[str], d.pop("groups", UNSET))
|
|
100
107
|
|
|
101
108
|
list_users_response_200_item = cls(
|
|
@@ -108,6 +115,7 @@ class ListUsersResponse200Item:
|
|
|
108
115
|
disabled=disabled,
|
|
109
116
|
folders=folders,
|
|
110
117
|
folders_owners=folders_owners,
|
|
118
|
+
name=name,
|
|
111
119
|
groups=groups,
|
|
112
120
|
)
|
|
113
121
|
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class QueuedJobJobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
windmill_api/models/user.py
CHANGED
|
@@ -23,6 +23,7 @@ class User:
|
|
|
23
23
|
disabled (bool):
|
|
24
24
|
folders (List[str]):
|
|
25
25
|
folders_owners (List[str]):
|
|
26
|
+
name (Union[Unset, str]):
|
|
26
27
|
groups (Union[Unset, List[str]]):
|
|
27
28
|
"""
|
|
28
29
|
|
|
@@ -35,6 +36,7 @@ class User:
|
|
|
35
36
|
disabled: bool
|
|
36
37
|
folders: List[str]
|
|
37
38
|
folders_owners: List[str]
|
|
39
|
+
name: Union[Unset, str] = UNSET
|
|
38
40
|
groups: Union[Unset, List[str]] = UNSET
|
|
39
41
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
40
42
|
|
|
@@ -51,6 +53,7 @@ class User:
|
|
|
51
53
|
|
|
52
54
|
folders_owners = self.folders_owners
|
|
53
55
|
|
|
56
|
+
name = self.name
|
|
54
57
|
groups: Union[Unset, List[str]] = UNSET
|
|
55
58
|
if not isinstance(self.groups, Unset):
|
|
56
59
|
groups = self.groups
|
|
@@ -70,6 +73,8 @@ class User:
|
|
|
70
73
|
"folders_owners": folders_owners,
|
|
71
74
|
}
|
|
72
75
|
)
|
|
76
|
+
if name is not UNSET:
|
|
77
|
+
field_dict["name"] = name
|
|
73
78
|
if groups is not UNSET:
|
|
74
79
|
field_dict["groups"] = groups
|
|
75
80
|
|
|
@@ -96,6 +101,8 @@ class User:
|
|
|
96
101
|
|
|
97
102
|
folders_owners = cast(List[str], d.pop("folders_owners"))
|
|
98
103
|
|
|
104
|
+
name = d.pop("name", UNSET)
|
|
105
|
+
|
|
99
106
|
groups = cast(List[str], d.pop("groups", UNSET))
|
|
100
107
|
|
|
101
108
|
user = cls(
|
|
@@ -108,6 +115,7 @@ class User:
|
|
|
108
115
|
disabled=disabled,
|
|
109
116
|
folders=folders,
|
|
110
117
|
folders_owners=folders_owners,
|
|
118
|
+
name=name,
|
|
111
119
|
groups=groups,
|
|
112
120
|
)
|
|
113
121
|
|