windmill-api 1.506.0__py3-none-any.whl → 1.507.1__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/models/edit_workspace_git_sync_config_json_body_git_sync_settings.py +1 -35
- windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item.py +35 -1
- windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_exclude_types_override_item.py +2 -0
- windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings.py +112 -0
- windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings_include_type_item.py +21 -0
- windmill_api/models/get_settings_response_200_git_sync.py +1 -33
- windmill_api/models/get_settings_response_200_git_sync_repositories_item.py +35 -1
- windmill_api/models/get_settings_response_200_git_sync_repositories_item_exclude_types_override_item.py +2 -0
- windmill_api/models/get_settings_response_200_git_sync_repositories_item_settings.py +107 -0
- windmill_api/models/{workspace_git_sync_settings_include_type_item.py → get_settings_response_200_git_sync_repositories_item_settings_include_type_item.py} +3 -1
- windmill_api/models/git_repository_settings.py +31 -1
- windmill_api/models/git_repository_settings_exclude_types_override_item.py +2 -0
- windmill_api/models/git_repository_settings_settings.py +103 -0
- windmill_api/models/{edit_workspace_git_sync_config_json_body_git_sync_settings_include_type_item.py → git_repository_settings_settings_include_type_item.py} +3 -1
- windmill_api/models/workspace_git_sync_settings.py +1 -33
- windmill_api/models/workspace_git_sync_settings_repositories_item.py +35 -1
- windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_override_item.py +2 -0
- windmill_api/models/workspace_git_sync_settings_repositories_item_settings.py +105 -0
- windmill_api/models/{get_settings_response_200_git_sync_include_type_item.py → workspace_git_sync_settings_repositories_item_settings_include_type_item.py} +3 -1
- {windmill_api-1.506.0.dist-info → windmill_api-1.507.1.dist-info}/METADATA +1 -1
- {windmill_api-1.506.0.dist-info → windmill_api-1.507.1.dist-info}/RECORD +23 -18
- {windmill_api-1.506.0.dist-info → windmill_api-1.507.1.dist-info}/LICENSE +0 -0
- {windmill_api-1.506.0.dist-info → windmill_api-1.507.1.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
2
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
5
5
|
|
|
6
|
-
from ..models.edit_workspace_git_sync_config_json_body_git_sync_settings_include_type_item import (
|
|
7
|
-
EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsIncludeTypeItem,
|
|
8
|
-
)
|
|
9
6
|
from ..types import UNSET, Unset
|
|
10
7
|
|
|
11
8
|
if TYPE_CHECKING:
|
|
@@ -21,29 +18,13 @@ T = TypeVar("T", bound="EditWorkspaceGitSyncConfigJsonBodyGitSyncSettings")
|
|
|
21
18
|
class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettings:
|
|
22
19
|
"""
|
|
23
20
|
Attributes:
|
|
24
|
-
include_path (Union[Unset, List[str]]):
|
|
25
|
-
include_type (Union[Unset, List[EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsIncludeTypeItem]]):
|
|
26
21
|
repositories (Union[Unset, List['EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem']]):
|
|
27
22
|
"""
|
|
28
23
|
|
|
29
|
-
include_path: Union[Unset, List[str]] = UNSET
|
|
30
|
-
include_type: Union[Unset, List[EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsIncludeTypeItem]] = UNSET
|
|
31
24
|
repositories: Union[Unset, List["EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem"]] = UNSET
|
|
32
25
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
33
26
|
|
|
34
27
|
def to_dict(self) -> Dict[str, Any]:
|
|
35
|
-
include_path: Union[Unset, List[str]] = UNSET
|
|
36
|
-
if not isinstance(self.include_path, Unset):
|
|
37
|
-
include_path = self.include_path
|
|
38
|
-
|
|
39
|
-
include_type: Union[Unset, List[str]] = UNSET
|
|
40
|
-
if not isinstance(self.include_type, Unset):
|
|
41
|
-
include_type = []
|
|
42
|
-
for include_type_item_data in self.include_type:
|
|
43
|
-
include_type_item = include_type_item_data.value
|
|
44
|
-
|
|
45
|
-
include_type.append(include_type_item)
|
|
46
|
-
|
|
47
28
|
repositories: Union[Unset, List[Dict[str, Any]]] = UNSET
|
|
48
29
|
if not isinstance(self.repositories, Unset):
|
|
49
30
|
repositories = []
|
|
@@ -55,10 +36,6 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettings:
|
|
|
55
36
|
field_dict: Dict[str, Any] = {}
|
|
56
37
|
field_dict.update(self.additional_properties)
|
|
57
38
|
field_dict.update({})
|
|
58
|
-
if include_path is not UNSET:
|
|
59
|
-
field_dict["include_path"] = include_path
|
|
60
|
-
if include_type is not UNSET:
|
|
61
|
-
field_dict["include_type"] = include_type
|
|
62
39
|
if repositories is not UNSET:
|
|
63
40
|
field_dict["repositories"] = repositories
|
|
64
41
|
|
|
@@ -71,15 +48,6 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettings:
|
|
|
71
48
|
)
|
|
72
49
|
|
|
73
50
|
d = src_dict.copy()
|
|
74
|
-
include_path = cast(List[str], d.pop("include_path", UNSET))
|
|
75
|
-
|
|
76
|
-
include_type = []
|
|
77
|
-
_include_type = d.pop("include_type", UNSET)
|
|
78
|
-
for include_type_item_data in _include_type or []:
|
|
79
|
-
include_type_item = EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsIncludeTypeItem(include_type_item_data)
|
|
80
|
-
|
|
81
|
-
include_type.append(include_type_item)
|
|
82
|
-
|
|
83
51
|
repositories = []
|
|
84
52
|
_repositories = d.pop("repositories", UNSET)
|
|
85
53
|
for repositories_item_data in _repositories or []:
|
|
@@ -90,8 +58,6 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettings:
|
|
|
90
58
|
repositories.append(repositories_item)
|
|
91
59
|
|
|
92
60
|
edit_workspace_git_sync_config_json_body_git_sync_settings = cls(
|
|
93
|
-
include_path=include_path,
|
|
94
|
-
include_type=include_type,
|
|
95
61
|
repositories=repositories,
|
|
96
62
|
)
|
|
97
63
|
|
windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
2
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
@@ -8,6 +8,12 @@ from ..models.edit_workspace_git_sync_config_json_body_git_sync_settings_reposit
|
|
|
8
8
|
)
|
|
9
9
|
from ..types import UNSET, Unset
|
|
10
10
|
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
from ..models.edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings import (
|
|
13
|
+
EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettings,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
|
|
11
17
|
T = TypeVar("T", bound="EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem")
|
|
12
18
|
|
|
13
19
|
|
|
@@ -19,6 +25,8 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem:
|
|
|
19
25
|
git_repo_resource_path (str):
|
|
20
26
|
use_individual_branch (Union[Unset, bool]):
|
|
21
27
|
group_by_folder (Union[Unset, bool]):
|
|
28
|
+
collapsed (Union[Unset, bool]):
|
|
29
|
+
settings (Union[Unset, EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettings]):
|
|
22
30
|
exclude_types_override (Union[Unset,
|
|
23
31
|
List[EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemExcludeTypesOverrideItem]]):
|
|
24
32
|
"""
|
|
@@ -27,6 +35,8 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem:
|
|
|
27
35
|
git_repo_resource_path: str
|
|
28
36
|
use_individual_branch: Union[Unset, bool] = UNSET
|
|
29
37
|
group_by_folder: Union[Unset, bool] = UNSET
|
|
38
|
+
collapsed: Union[Unset, bool] = UNSET
|
|
39
|
+
settings: Union[Unset, "EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettings"] = UNSET
|
|
30
40
|
exclude_types_override: Union[
|
|
31
41
|
Unset, List[EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemExcludeTypesOverrideItem]
|
|
32
42
|
] = UNSET
|
|
@@ -37,6 +47,11 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem:
|
|
|
37
47
|
git_repo_resource_path = self.git_repo_resource_path
|
|
38
48
|
use_individual_branch = self.use_individual_branch
|
|
39
49
|
group_by_folder = self.group_by_folder
|
|
50
|
+
collapsed = self.collapsed
|
|
51
|
+
settings: Union[Unset, Dict[str, Any]] = UNSET
|
|
52
|
+
if not isinstance(self.settings, Unset):
|
|
53
|
+
settings = self.settings.to_dict()
|
|
54
|
+
|
|
40
55
|
exclude_types_override: Union[Unset, List[str]] = UNSET
|
|
41
56
|
if not isinstance(self.exclude_types_override, Unset):
|
|
42
57
|
exclude_types_override = []
|
|
@@ -57,6 +72,10 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem:
|
|
|
57
72
|
field_dict["use_individual_branch"] = use_individual_branch
|
|
58
73
|
if group_by_folder is not UNSET:
|
|
59
74
|
field_dict["group_by_folder"] = group_by_folder
|
|
75
|
+
if collapsed is not UNSET:
|
|
76
|
+
field_dict["collapsed"] = collapsed
|
|
77
|
+
if settings is not UNSET:
|
|
78
|
+
field_dict["settings"] = settings
|
|
60
79
|
if exclude_types_override is not UNSET:
|
|
61
80
|
field_dict["exclude_types_override"] = exclude_types_override
|
|
62
81
|
|
|
@@ -64,6 +83,10 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem:
|
|
|
64
83
|
|
|
65
84
|
@classmethod
|
|
66
85
|
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
86
|
+
from ..models.edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings import (
|
|
87
|
+
EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettings,
|
|
88
|
+
)
|
|
89
|
+
|
|
67
90
|
d = src_dict.copy()
|
|
68
91
|
script_path = d.pop("script_path")
|
|
69
92
|
|
|
@@ -73,6 +96,15 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem:
|
|
|
73
96
|
|
|
74
97
|
group_by_folder = d.pop("group_by_folder", UNSET)
|
|
75
98
|
|
|
99
|
+
collapsed = d.pop("collapsed", UNSET)
|
|
100
|
+
|
|
101
|
+
_settings = d.pop("settings", UNSET)
|
|
102
|
+
settings: Union[Unset, EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettings]
|
|
103
|
+
if isinstance(_settings, Unset):
|
|
104
|
+
settings = UNSET
|
|
105
|
+
else:
|
|
106
|
+
settings = EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettings.from_dict(_settings)
|
|
107
|
+
|
|
76
108
|
exclude_types_override = []
|
|
77
109
|
_exclude_types_override = d.pop("exclude_types_override", UNSET)
|
|
78
110
|
for exclude_types_override_item_data in _exclude_types_override or []:
|
|
@@ -89,6 +121,8 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItem:
|
|
|
89
121
|
git_repo_resource_path=git_repo_resource_path,
|
|
90
122
|
use_individual_branch=use_individual_branch,
|
|
91
123
|
group_by_folder=group_by_folder,
|
|
124
|
+
collapsed=collapsed,
|
|
125
|
+
settings=settings,
|
|
92
126
|
exclude_types_override=exclude_types_override,
|
|
93
127
|
)
|
|
94
128
|
|
|
@@ -6,11 +6,13 @@ class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemExcludeTy
|
|
|
6
6
|
FLOW = "flow"
|
|
7
7
|
FOLDER = "folder"
|
|
8
8
|
GROUP = "group"
|
|
9
|
+
KEY = "key"
|
|
9
10
|
RESOURCE = "resource"
|
|
10
11
|
RESOURCETYPE = "resourcetype"
|
|
11
12
|
SCHEDULE = "schedule"
|
|
12
13
|
SCRIPT = "script"
|
|
13
14
|
SECRET = "secret"
|
|
15
|
+
SETTINGS = "settings"
|
|
14
16
|
TRIGGER = "trigger"
|
|
15
17
|
USER = "user"
|
|
16
18
|
VARIABLE = "variable"
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union, cast
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..models.edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings_include_type_item import (
|
|
7
|
+
EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem,
|
|
8
|
+
)
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettings")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettings:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
include_path (Union[Unset, List[str]]):
|
|
19
|
+
include_type (Union[Unset,
|
|
20
|
+
List[EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem]]):
|
|
21
|
+
exclude_path (Union[Unset, List[str]]):
|
|
22
|
+
extra_include_path (Union[Unset, List[str]]):
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
include_path: Union[Unset, List[str]] = UNSET
|
|
26
|
+
include_type: Union[
|
|
27
|
+
Unset, List[EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem]
|
|
28
|
+
] = UNSET
|
|
29
|
+
exclude_path: Union[Unset, List[str]] = UNSET
|
|
30
|
+
extra_include_path: Union[Unset, List[str]] = UNSET
|
|
31
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
|
+
|
|
33
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
34
|
+
include_path: Union[Unset, List[str]] = UNSET
|
|
35
|
+
if not isinstance(self.include_path, Unset):
|
|
36
|
+
include_path = self.include_path
|
|
37
|
+
|
|
38
|
+
include_type: Union[Unset, List[str]] = UNSET
|
|
39
|
+
if not isinstance(self.include_type, Unset):
|
|
40
|
+
include_type = []
|
|
41
|
+
for include_type_item_data in self.include_type:
|
|
42
|
+
include_type_item = include_type_item_data.value
|
|
43
|
+
|
|
44
|
+
include_type.append(include_type_item)
|
|
45
|
+
|
|
46
|
+
exclude_path: Union[Unset, List[str]] = UNSET
|
|
47
|
+
if not isinstance(self.exclude_path, Unset):
|
|
48
|
+
exclude_path = self.exclude_path
|
|
49
|
+
|
|
50
|
+
extra_include_path: Union[Unset, List[str]] = UNSET
|
|
51
|
+
if not isinstance(self.extra_include_path, Unset):
|
|
52
|
+
extra_include_path = self.extra_include_path
|
|
53
|
+
|
|
54
|
+
field_dict: Dict[str, Any] = {}
|
|
55
|
+
field_dict.update(self.additional_properties)
|
|
56
|
+
field_dict.update({})
|
|
57
|
+
if include_path is not UNSET:
|
|
58
|
+
field_dict["include_path"] = include_path
|
|
59
|
+
if include_type is not UNSET:
|
|
60
|
+
field_dict["include_type"] = include_type
|
|
61
|
+
if exclude_path is not UNSET:
|
|
62
|
+
field_dict["exclude_path"] = exclude_path
|
|
63
|
+
if extra_include_path is not UNSET:
|
|
64
|
+
field_dict["extra_include_path"] = extra_include_path
|
|
65
|
+
|
|
66
|
+
return field_dict
|
|
67
|
+
|
|
68
|
+
@classmethod
|
|
69
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
70
|
+
d = src_dict.copy()
|
|
71
|
+
include_path = cast(List[str], d.pop("include_path", UNSET))
|
|
72
|
+
|
|
73
|
+
include_type = []
|
|
74
|
+
_include_type = d.pop("include_type", UNSET)
|
|
75
|
+
for include_type_item_data in _include_type or []:
|
|
76
|
+
include_type_item = (
|
|
77
|
+
EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem(
|
|
78
|
+
include_type_item_data
|
|
79
|
+
)
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
include_type.append(include_type_item)
|
|
83
|
+
|
|
84
|
+
exclude_path = cast(List[str], d.pop("exclude_path", UNSET))
|
|
85
|
+
|
|
86
|
+
extra_include_path = cast(List[str], d.pop("extra_include_path", UNSET))
|
|
87
|
+
|
|
88
|
+
edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings = cls(
|
|
89
|
+
include_path=include_path,
|
|
90
|
+
include_type=include_type,
|
|
91
|
+
exclude_path=exclude_path,
|
|
92
|
+
extra_include_path=extra_include_path,
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings.additional_properties = d
|
|
96
|
+
return edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def additional_keys(self) -> List[str]:
|
|
100
|
+
return list(self.additional_properties.keys())
|
|
101
|
+
|
|
102
|
+
def __getitem__(self, key: str) -> Any:
|
|
103
|
+
return self.additional_properties[key]
|
|
104
|
+
|
|
105
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
106
|
+
self.additional_properties[key] = value
|
|
107
|
+
|
|
108
|
+
def __delitem__(self, key: str) -> None:
|
|
109
|
+
del self.additional_properties[key]
|
|
110
|
+
|
|
111
|
+
def __contains__(self, key: str) -> bool:
|
|
112
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class EditWorkspaceGitSyncConfigJsonBodyGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem(str, Enum):
|
|
5
|
+
APP = "app"
|
|
6
|
+
FLOW = "flow"
|
|
7
|
+
FOLDER = "folder"
|
|
8
|
+
GROUP = "group"
|
|
9
|
+
KEY = "key"
|
|
10
|
+
RESOURCE = "resource"
|
|
11
|
+
RESOURCETYPE = "resourcetype"
|
|
12
|
+
SCHEDULE = "schedule"
|
|
13
|
+
SCRIPT = "script"
|
|
14
|
+
SECRET = "secret"
|
|
15
|
+
SETTINGS = "settings"
|
|
16
|
+
TRIGGER = "trigger"
|
|
17
|
+
USER = "user"
|
|
18
|
+
VARIABLE = "variable"
|
|
19
|
+
|
|
20
|
+
def __str__(self) -> str:
|
|
21
|
+
return str(self.value)
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
2
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
5
5
|
|
|
6
|
-
from ..models.get_settings_response_200_git_sync_include_type_item import GetSettingsResponse200GitSyncIncludeTypeItem
|
|
7
6
|
from ..types import UNSET, Unset
|
|
8
7
|
|
|
9
8
|
if TYPE_CHECKING:
|
|
@@ -19,29 +18,13 @@ T = TypeVar("T", bound="GetSettingsResponse200GitSync")
|
|
|
19
18
|
class GetSettingsResponse200GitSync:
|
|
20
19
|
"""
|
|
21
20
|
Attributes:
|
|
22
|
-
include_path (Union[Unset, List[str]]):
|
|
23
|
-
include_type (Union[Unset, List[GetSettingsResponse200GitSyncIncludeTypeItem]]):
|
|
24
21
|
repositories (Union[Unset, List['GetSettingsResponse200GitSyncRepositoriesItem']]):
|
|
25
22
|
"""
|
|
26
23
|
|
|
27
|
-
include_path: Union[Unset, List[str]] = UNSET
|
|
28
|
-
include_type: Union[Unset, List[GetSettingsResponse200GitSyncIncludeTypeItem]] = UNSET
|
|
29
24
|
repositories: Union[Unset, List["GetSettingsResponse200GitSyncRepositoriesItem"]] = UNSET
|
|
30
25
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
31
26
|
|
|
32
27
|
def to_dict(self) -> Dict[str, Any]:
|
|
33
|
-
include_path: Union[Unset, List[str]] = UNSET
|
|
34
|
-
if not isinstance(self.include_path, Unset):
|
|
35
|
-
include_path = self.include_path
|
|
36
|
-
|
|
37
|
-
include_type: Union[Unset, List[str]] = UNSET
|
|
38
|
-
if not isinstance(self.include_type, Unset):
|
|
39
|
-
include_type = []
|
|
40
|
-
for include_type_item_data in self.include_type:
|
|
41
|
-
include_type_item = include_type_item_data.value
|
|
42
|
-
|
|
43
|
-
include_type.append(include_type_item)
|
|
44
|
-
|
|
45
28
|
repositories: Union[Unset, List[Dict[str, Any]]] = UNSET
|
|
46
29
|
if not isinstance(self.repositories, Unset):
|
|
47
30
|
repositories = []
|
|
@@ -53,10 +36,6 @@ class GetSettingsResponse200GitSync:
|
|
|
53
36
|
field_dict: Dict[str, Any] = {}
|
|
54
37
|
field_dict.update(self.additional_properties)
|
|
55
38
|
field_dict.update({})
|
|
56
|
-
if include_path is not UNSET:
|
|
57
|
-
field_dict["include_path"] = include_path
|
|
58
|
-
if include_type is not UNSET:
|
|
59
|
-
field_dict["include_type"] = include_type
|
|
60
39
|
if repositories is not UNSET:
|
|
61
40
|
field_dict["repositories"] = repositories
|
|
62
41
|
|
|
@@ -69,15 +48,6 @@ class GetSettingsResponse200GitSync:
|
|
|
69
48
|
)
|
|
70
49
|
|
|
71
50
|
d = src_dict.copy()
|
|
72
|
-
include_path = cast(List[str], d.pop("include_path", UNSET))
|
|
73
|
-
|
|
74
|
-
include_type = []
|
|
75
|
-
_include_type = d.pop("include_type", UNSET)
|
|
76
|
-
for include_type_item_data in _include_type or []:
|
|
77
|
-
include_type_item = GetSettingsResponse200GitSyncIncludeTypeItem(include_type_item_data)
|
|
78
|
-
|
|
79
|
-
include_type.append(include_type_item)
|
|
80
|
-
|
|
81
51
|
repositories = []
|
|
82
52
|
_repositories = d.pop("repositories", UNSET)
|
|
83
53
|
for repositories_item_data in _repositories or []:
|
|
@@ -86,8 +56,6 @@ class GetSettingsResponse200GitSync:
|
|
|
86
56
|
repositories.append(repositories_item)
|
|
87
57
|
|
|
88
58
|
get_settings_response_200_git_sync = cls(
|
|
89
|
-
include_path=include_path,
|
|
90
|
-
include_type=include_type,
|
|
91
59
|
repositories=repositories,
|
|
92
60
|
)
|
|
93
61
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
2
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
@@ -8,6 +8,12 @@ from ..models.get_settings_response_200_git_sync_repositories_item_exclude_types
|
|
|
8
8
|
)
|
|
9
9
|
from ..types import UNSET, Unset
|
|
10
10
|
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
from ..models.get_settings_response_200_git_sync_repositories_item_settings import (
|
|
13
|
+
GetSettingsResponse200GitSyncRepositoriesItemSettings,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
|
|
11
17
|
T = TypeVar("T", bound="GetSettingsResponse200GitSyncRepositoriesItem")
|
|
12
18
|
|
|
13
19
|
|
|
@@ -19,6 +25,8 @@ class GetSettingsResponse200GitSyncRepositoriesItem:
|
|
|
19
25
|
git_repo_resource_path (str):
|
|
20
26
|
use_individual_branch (Union[Unset, bool]):
|
|
21
27
|
group_by_folder (Union[Unset, bool]):
|
|
28
|
+
collapsed (Union[Unset, bool]):
|
|
29
|
+
settings (Union[Unset, GetSettingsResponse200GitSyncRepositoriesItemSettings]):
|
|
22
30
|
exclude_types_override (Union[Unset,
|
|
23
31
|
List[GetSettingsResponse200GitSyncRepositoriesItemExcludeTypesOverrideItem]]):
|
|
24
32
|
"""
|
|
@@ -27,6 +35,8 @@ class GetSettingsResponse200GitSyncRepositoriesItem:
|
|
|
27
35
|
git_repo_resource_path: str
|
|
28
36
|
use_individual_branch: Union[Unset, bool] = UNSET
|
|
29
37
|
group_by_folder: Union[Unset, bool] = UNSET
|
|
38
|
+
collapsed: Union[Unset, bool] = UNSET
|
|
39
|
+
settings: Union[Unset, "GetSettingsResponse200GitSyncRepositoriesItemSettings"] = UNSET
|
|
30
40
|
exclude_types_override: Union[
|
|
31
41
|
Unset, List[GetSettingsResponse200GitSyncRepositoriesItemExcludeTypesOverrideItem]
|
|
32
42
|
] = UNSET
|
|
@@ -37,6 +47,11 @@ class GetSettingsResponse200GitSyncRepositoriesItem:
|
|
|
37
47
|
git_repo_resource_path = self.git_repo_resource_path
|
|
38
48
|
use_individual_branch = self.use_individual_branch
|
|
39
49
|
group_by_folder = self.group_by_folder
|
|
50
|
+
collapsed = self.collapsed
|
|
51
|
+
settings: Union[Unset, Dict[str, Any]] = UNSET
|
|
52
|
+
if not isinstance(self.settings, Unset):
|
|
53
|
+
settings = self.settings.to_dict()
|
|
54
|
+
|
|
40
55
|
exclude_types_override: Union[Unset, List[str]] = UNSET
|
|
41
56
|
if not isinstance(self.exclude_types_override, Unset):
|
|
42
57
|
exclude_types_override = []
|
|
@@ -57,6 +72,10 @@ class GetSettingsResponse200GitSyncRepositoriesItem:
|
|
|
57
72
|
field_dict["use_individual_branch"] = use_individual_branch
|
|
58
73
|
if group_by_folder is not UNSET:
|
|
59
74
|
field_dict["group_by_folder"] = group_by_folder
|
|
75
|
+
if collapsed is not UNSET:
|
|
76
|
+
field_dict["collapsed"] = collapsed
|
|
77
|
+
if settings is not UNSET:
|
|
78
|
+
field_dict["settings"] = settings
|
|
60
79
|
if exclude_types_override is not UNSET:
|
|
61
80
|
field_dict["exclude_types_override"] = exclude_types_override
|
|
62
81
|
|
|
@@ -64,6 +83,10 @@ class GetSettingsResponse200GitSyncRepositoriesItem:
|
|
|
64
83
|
|
|
65
84
|
@classmethod
|
|
66
85
|
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
86
|
+
from ..models.get_settings_response_200_git_sync_repositories_item_settings import (
|
|
87
|
+
GetSettingsResponse200GitSyncRepositoriesItemSettings,
|
|
88
|
+
)
|
|
89
|
+
|
|
67
90
|
d = src_dict.copy()
|
|
68
91
|
script_path = d.pop("script_path")
|
|
69
92
|
|
|
@@ -73,6 +96,15 @@ class GetSettingsResponse200GitSyncRepositoriesItem:
|
|
|
73
96
|
|
|
74
97
|
group_by_folder = d.pop("group_by_folder", UNSET)
|
|
75
98
|
|
|
99
|
+
collapsed = d.pop("collapsed", UNSET)
|
|
100
|
+
|
|
101
|
+
_settings = d.pop("settings", UNSET)
|
|
102
|
+
settings: Union[Unset, GetSettingsResponse200GitSyncRepositoriesItemSettings]
|
|
103
|
+
if isinstance(_settings, Unset):
|
|
104
|
+
settings = UNSET
|
|
105
|
+
else:
|
|
106
|
+
settings = GetSettingsResponse200GitSyncRepositoriesItemSettings.from_dict(_settings)
|
|
107
|
+
|
|
76
108
|
exclude_types_override = []
|
|
77
109
|
_exclude_types_override = d.pop("exclude_types_override", UNSET)
|
|
78
110
|
for exclude_types_override_item_data in _exclude_types_override or []:
|
|
@@ -87,6 +119,8 @@ class GetSettingsResponse200GitSyncRepositoriesItem:
|
|
|
87
119
|
git_repo_resource_path=git_repo_resource_path,
|
|
88
120
|
use_individual_branch=use_individual_branch,
|
|
89
121
|
group_by_folder=group_by_folder,
|
|
122
|
+
collapsed=collapsed,
|
|
123
|
+
settings=settings,
|
|
90
124
|
exclude_types_override=exclude_types_override,
|
|
91
125
|
)
|
|
92
126
|
|
|
@@ -6,11 +6,13 @@ class GetSettingsResponse200GitSyncRepositoriesItemExcludeTypesOverrideItem(str,
|
|
|
6
6
|
FLOW = "flow"
|
|
7
7
|
FOLDER = "folder"
|
|
8
8
|
GROUP = "group"
|
|
9
|
+
KEY = "key"
|
|
9
10
|
RESOURCE = "resource"
|
|
10
11
|
RESOURCETYPE = "resourcetype"
|
|
11
12
|
SCHEDULE = "schedule"
|
|
12
13
|
SCRIPT = "script"
|
|
13
14
|
SECRET = "secret"
|
|
15
|
+
SETTINGS = "settings"
|
|
14
16
|
TRIGGER = "trigger"
|
|
15
17
|
USER = "user"
|
|
16
18
|
VARIABLE = "variable"
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union, cast
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..models.get_settings_response_200_git_sync_repositories_item_settings_include_type_item import (
|
|
7
|
+
GetSettingsResponse200GitSyncRepositoriesItemSettingsIncludeTypeItem,
|
|
8
|
+
)
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="GetSettingsResponse200GitSyncRepositoriesItemSettings")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class GetSettingsResponse200GitSyncRepositoriesItemSettings:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
include_path (Union[Unset, List[str]]):
|
|
19
|
+
include_type (Union[Unset, List[GetSettingsResponse200GitSyncRepositoriesItemSettingsIncludeTypeItem]]):
|
|
20
|
+
exclude_path (Union[Unset, List[str]]):
|
|
21
|
+
extra_include_path (Union[Unset, List[str]]):
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
include_path: Union[Unset, List[str]] = UNSET
|
|
25
|
+
include_type: Union[Unset, List[GetSettingsResponse200GitSyncRepositoriesItemSettingsIncludeTypeItem]] = UNSET
|
|
26
|
+
exclude_path: Union[Unset, List[str]] = UNSET
|
|
27
|
+
extra_include_path: Union[Unset, List[str]] = UNSET
|
|
28
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
29
|
+
|
|
30
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
31
|
+
include_path: Union[Unset, List[str]] = UNSET
|
|
32
|
+
if not isinstance(self.include_path, Unset):
|
|
33
|
+
include_path = self.include_path
|
|
34
|
+
|
|
35
|
+
include_type: Union[Unset, List[str]] = UNSET
|
|
36
|
+
if not isinstance(self.include_type, Unset):
|
|
37
|
+
include_type = []
|
|
38
|
+
for include_type_item_data in self.include_type:
|
|
39
|
+
include_type_item = include_type_item_data.value
|
|
40
|
+
|
|
41
|
+
include_type.append(include_type_item)
|
|
42
|
+
|
|
43
|
+
exclude_path: Union[Unset, List[str]] = UNSET
|
|
44
|
+
if not isinstance(self.exclude_path, Unset):
|
|
45
|
+
exclude_path = self.exclude_path
|
|
46
|
+
|
|
47
|
+
extra_include_path: Union[Unset, List[str]] = UNSET
|
|
48
|
+
if not isinstance(self.extra_include_path, Unset):
|
|
49
|
+
extra_include_path = self.extra_include_path
|
|
50
|
+
|
|
51
|
+
field_dict: Dict[str, Any] = {}
|
|
52
|
+
field_dict.update(self.additional_properties)
|
|
53
|
+
field_dict.update({})
|
|
54
|
+
if include_path is not UNSET:
|
|
55
|
+
field_dict["include_path"] = include_path
|
|
56
|
+
if include_type is not UNSET:
|
|
57
|
+
field_dict["include_type"] = include_type
|
|
58
|
+
if exclude_path is not UNSET:
|
|
59
|
+
field_dict["exclude_path"] = exclude_path
|
|
60
|
+
if extra_include_path is not UNSET:
|
|
61
|
+
field_dict["extra_include_path"] = extra_include_path
|
|
62
|
+
|
|
63
|
+
return field_dict
|
|
64
|
+
|
|
65
|
+
@classmethod
|
|
66
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
67
|
+
d = src_dict.copy()
|
|
68
|
+
include_path = cast(List[str], d.pop("include_path", UNSET))
|
|
69
|
+
|
|
70
|
+
include_type = []
|
|
71
|
+
_include_type = d.pop("include_type", UNSET)
|
|
72
|
+
for include_type_item_data in _include_type or []:
|
|
73
|
+
include_type_item = GetSettingsResponse200GitSyncRepositoriesItemSettingsIncludeTypeItem(
|
|
74
|
+
include_type_item_data
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
include_type.append(include_type_item)
|
|
78
|
+
|
|
79
|
+
exclude_path = cast(List[str], d.pop("exclude_path", UNSET))
|
|
80
|
+
|
|
81
|
+
extra_include_path = cast(List[str], d.pop("extra_include_path", UNSET))
|
|
82
|
+
|
|
83
|
+
get_settings_response_200_git_sync_repositories_item_settings = cls(
|
|
84
|
+
include_path=include_path,
|
|
85
|
+
include_type=include_type,
|
|
86
|
+
exclude_path=exclude_path,
|
|
87
|
+
extra_include_path=extra_include_path,
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
get_settings_response_200_git_sync_repositories_item_settings.additional_properties = d
|
|
91
|
+
return get_settings_response_200_git_sync_repositories_item_settings
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def additional_keys(self) -> List[str]:
|
|
95
|
+
return list(self.additional_properties.keys())
|
|
96
|
+
|
|
97
|
+
def __getitem__(self, key: str) -> Any:
|
|
98
|
+
return self.additional_properties[key]
|
|
99
|
+
|
|
100
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
101
|
+
self.additional_properties[key] = value
|
|
102
|
+
|
|
103
|
+
def __delitem__(self, key: str) -> None:
|
|
104
|
+
del self.additional_properties[key]
|
|
105
|
+
|
|
106
|
+
def __contains__(self, key: str) -> bool:
|
|
107
|
+
return key in self.additional_properties
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
from enum import Enum
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class GetSettingsResponse200GitSyncRepositoriesItemSettingsIncludeTypeItem(str, Enum):
|
|
5
5
|
APP = "app"
|
|
6
6
|
FLOW = "flow"
|
|
7
7
|
FOLDER = "folder"
|
|
8
8
|
GROUP = "group"
|
|
9
|
+
KEY = "key"
|
|
9
10
|
RESOURCE = "resource"
|
|
10
11
|
RESOURCETYPE = "resourcetype"
|
|
11
12
|
SCHEDULE = "schedule"
|
|
12
13
|
SCRIPT = "script"
|
|
13
14
|
SECRET = "secret"
|
|
15
|
+
SETTINGS = "settings"
|
|
14
16
|
TRIGGER = "trigger"
|
|
15
17
|
USER = "user"
|
|
16
18
|
VARIABLE = "variable"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
2
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
@@ -6,6 +6,10 @@ from attrs import field as _attrs_field
|
|
|
6
6
|
from ..models.git_repository_settings_exclude_types_override_item import GitRepositorySettingsExcludeTypesOverrideItem
|
|
7
7
|
from ..types import UNSET, Unset
|
|
8
8
|
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
from ..models.git_repository_settings_settings import GitRepositorySettingsSettings
|
|
11
|
+
|
|
12
|
+
|
|
9
13
|
T = TypeVar("T", bound="GitRepositorySettings")
|
|
10
14
|
|
|
11
15
|
|
|
@@ -17,6 +21,8 @@ class GitRepositorySettings:
|
|
|
17
21
|
git_repo_resource_path (str):
|
|
18
22
|
use_individual_branch (Union[Unset, bool]):
|
|
19
23
|
group_by_folder (Union[Unset, bool]):
|
|
24
|
+
collapsed (Union[Unset, bool]):
|
|
25
|
+
settings (Union[Unset, GitRepositorySettingsSettings]):
|
|
20
26
|
exclude_types_override (Union[Unset, List[GitRepositorySettingsExcludeTypesOverrideItem]]):
|
|
21
27
|
"""
|
|
22
28
|
|
|
@@ -24,6 +30,8 @@ class GitRepositorySettings:
|
|
|
24
30
|
git_repo_resource_path: str
|
|
25
31
|
use_individual_branch: Union[Unset, bool] = UNSET
|
|
26
32
|
group_by_folder: Union[Unset, bool] = UNSET
|
|
33
|
+
collapsed: Union[Unset, bool] = UNSET
|
|
34
|
+
settings: Union[Unset, "GitRepositorySettingsSettings"] = UNSET
|
|
27
35
|
exclude_types_override: Union[Unset, List[GitRepositorySettingsExcludeTypesOverrideItem]] = UNSET
|
|
28
36
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
29
37
|
|
|
@@ -32,6 +40,11 @@ class GitRepositorySettings:
|
|
|
32
40
|
git_repo_resource_path = self.git_repo_resource_path
|
|
33
41
|
use_individual_branch = self.use_individual_branch
|
|
34
42
|
group_by_folder = self.group_by_folder
|
|
43
|
+
collapsed = self.collapsed
|
|
44
|
+
settings: Union[Unset, Dict[str, Any]] = UNSET
|
|
45
|
+
if not isinstance(self.settings, Unset):
|
|
46
|
+
settings = self.settings.to_dict()
|
|
47
|
+
|
|
35
48
|
exclude_types_override: Union[Unset, List[str]] = UNSET
|
|
36
49
|
if not isinstance(self.exclude_types_override, Unset):
|
|
37
50
|
exclude_types_override = []
|
|
@@ -52,6 +65,10 @@ class GitRepositorySettings:
|
|
|
52
65
|
field_dict["use_individual_branch"] = use_individual_branch
|
|
53
66
|
if group_by_folder is not UNSET:
|
|
54
67
|
field_dict["group_by_folder"] = group_by_folder
|
|
68
|
+
if collapsed is not UNSET:
|
|
69
|
+
field_dict["collapsed"] = collapsed
|
|
70
|
+
if settings is not UNSET:
|
|
71
|
+
field_dict["settings"] = settings
|
|
55
72
|
if exclude_types_override is not UNSET:
|
|
56
73
|
field_dict["exclude_types_override"] = exclude_types_override
|
|
57
74
|
|
|
@@ -59,6 +76,8 @@ class GitRepositorySettings:
|
|
|
59
76
|
|
|
60
77
|
@classmethod
|
|
61
78
|
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
79
|
+
from ..models.git_repository_settings_settings import GitRepositorySettingsSettings
|
|
80
|
+
|
|
62
81
|
d = src_dict.copy()
|
|
63
82
|
script_path = d.pop("script_path")
|
|
64
83
|
|
|
@@ -68,6 +87,15 @@ class GitRepositorySettings:
|
|
|
68
87
|
|
|
69
88
|
group_by_folder = d.pop("group_by_folder", UNSET)
|
|
70
89
|
|
|
90
|
+
collapsed = d.pop("collapsed", UNSET)
|
|
91
|
+
|
|
92
|
+
_settings = d.pop("settings", UNSET)
|
|
93
|
+
settings: Union[Unset, GitRepositorySettingsSettings]
|
|
94
|
+
if isinstance(_settings, Unset):
|
|
95
|
+
settings = UNSET
|
|
96
|
+
else:
|
|
97
|
+
settings = GitRepositorySettingsSettings.from_dict(_settings)
|
|
98
|
+
|
|
71
99
|
exclude_types_override = []
|
|
72
100
|
_exclude_types_override = d.pop("exclude_types_override", UNSET)
|
|
73
101
|
for exclude_types_override_item_data in _exclude_types_override or []:
|
|
@@ -82,6 +110,8 @@ class GitRepositorySettings:
|
|
|
82
110
|
git_repo_resource_path=git_repo_resource_path,
|
|
83
111
|
use_individual_branch=use_individual_branch,
|
|
84
112
|
group_by_folder=group_by_folder,
|
|
113
|
+
collapsed=collapsed,
|
|
114
|
+
settings=settings,
|
|
85
115
|
exclude_types_override=exclude_types_override,
|
|
86
116
|
)
|
|
87
117
|
|
|
@@ -6,11 +6,13 @@ class GitRepositorySettingsExcludeTypesOverrideItem(str, Enum):
|
|
|
6
6
|
FLOW = "flow"
|
|
7
7
|
FOLDER = "folder"
|
|
8
8
|
GROUP = "group"
|
|
9
|
+
KEY = "key"
|
|
9
10
|
RESOURCE = "resource"
|
|
10
11
|
RESOURCETYPE = "resourcetype"
|
|
11
12
|
SCHEDULE = "schedule"
|
|
12
13
|
SCRIPT = "script"
|
|
13
14
|
SECRET = "secret"
|
|
15
|
+
SETTINGS = "settings"
|
|
14
16
|
TRIGGER = "trigger"
|
|
15
17
|
USER = "user"
|
|
16
18
|
VARIABLE = "variable"
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union, cast
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..models.git_repository_settings_settings_include_type_item import GitRepositorySettingsSettingsIncludeTypeItem
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="GitRepositorySettingsSettings")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class GitRepositorySettingsSettings:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
include_path (Union[Unset, List[str]]):
|
|
17
|
+
include_type (Union[Unset, List[GitRepositorySettingsSettingsIncludeTypeItem]]):
|
|
18
|
+
exclude_path (Union[Unset, List[str]]):
|
|
19
|
+
extra_include_path (Union[Unset, List[str]]):
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
include_path: Union[Unset, List[str]] = UNSET
|
|
23
|
+
include_type: Union[Unset, List[GitRepositorySettingsSettingsIncludeTypeItem]] = UNSET
|
|
24
|
+
exclude_path: Union[Unset, List[str]] = UNSET
|
|
25
|
+
extra_include_path: Union[Unset, List[str]] = UNSET
|
|
26
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
27
|
+
|
|
28
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
29
|
+
include_path: Union[Unset, List[str]] = UNSET
|
|
30
|
+
if not isinstance(self.include_path, Unset):
|
|
31
|
+
include_path = self.include_path
|
|
32
|
+
|
|
33
|
+
include_type: Union[Unset, List[str]] = UNSET
|
|
34
|
+
if not isinstance(self.include_type, Unset):
|
|
35
|
+
include_type = []
|
|
36
|
+
for include_type_item_data in self.include_type:
|
|
37
|
+
include_type_item = include_type_item_data.value
|
|
38
|
+
|
|
39
|
+
include_type.append(include_type_item)
|
|
40
|
+
|
|
41
|
+
exclude_path: Union[Unset, List[str]] = UNSET
|
|
42
|
+
if not isinstance(self.exclude_path, Unset):
|
|
43
|
+
exclude_path = self.exclude_path
|
|
44
|
+
|
|
45
|
+
extra_include_path: Union[Unset, List[str]] = UNSET
|
|
46
|
+
if not isinstance(self.extra_include_path, Unset):
|
|
47
|
+
extra_include_path = self.extra_include_path
|
|
48
|
+
|
|
49
|
+
field_dict: Dict[str, Any] = {}
|
|
50
|
+
field_dict.update(self.additional_properties)
|
|
51
|
+
field_dict.update({})
|
|
52
|
+
if include_path is not UNSET:
|
|
53
|
+
field_dict["include_path"] = include_path
|
|
54
|
+
if include_type is not UNSET:
|
|
55
|
+
field_dict["include_type"] = include_type
|
|
56
|
+
if exclude_path is not UNSET:
|
|
57
|
+
field_dict["exclude_path"] = exclude_path
|
|
58
|
+
if extra_include_path is not UNSET:
|
|
59
|
+
field_dict["extra_include_path"] = extra_include_path
|
|
60
|
+
|
|
61
|
+
return field_dict
|
|
62
|
+
|
|
63
|
+
@classmethod
|
|
64
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
65
|
+
d = src_dict.copy()
|
|
66
|
+
include_path = cast(List[str], d.pop("include_path", UNSET))
|
|
67
|
+
|
|
68
|
+
include_type = []
|
|
69
|
+
_include_type = d.pop("include_type", UNSET)
|
|
70
|
+
for include_type_item_data in _include_type or []:
|
|
71
|
+
include_type_item = GitRepositorySettingsSettingsIncludeTypeItem(include_type_item_data)
|
|
72
|
+
|
|
73
|
+
include_type.append(include_type_item)
|
|
74
|
+
|
|
75
|
+
exclude_path = cast(List[str], d.pop("exclude_path", UNSET))
|
|
76
|
+
|
|
77
|
+
extra_include_path = cast(List[str], d.pop("extra_include_path", UNSET))
|
|
78
|
+
|
|
79
|
+
git_repository_settings_settings = cls(
|
|
80
|
+
include_path=include_path,
|
|
81
|
+
include_type=include_type,
|
|
82
|
+
exclude_path=exclude_path,
|
|
83
|
+
extra_include_path=extra_include_path,
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
git_repository_settings_settings.additional_properties = d
|
|
87
|
+
return git_repository_settings_settings
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def additional_keys(self) -> List[str]:
|
|
91
|
+
return list(self.additional_properties.keys())
|
|
92
|
+
|
|
93
|
+
def __getitem__(self, key: str) -> Any:
|
|
94
|
+
return self.additional_properties[key]
|
|
95
|
+
|
|
96
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
97
|
+
self.additional_properties[key] = value
|
|
98
|
+
|
|
99
|
+
def __delitem__(self, key: str) -> None:
|
|
100
|
+
del self.additional_properties[key]
|
|
101
|
+
|
|
102
|
+
def __contains__(self, key: str) -> bool:
|
|
103
|
+
return key in self.additional_properties
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
from enum import Enum
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class GitRepositorySettingsSettingsIncludeTypeItem(str, Enum):
|
|
5
5
|
APP = "app"
|
|
6
6
|
FLOW = "flow"
|
|
7
7
|
FOLDER = "folder"
|
|
8
8
|
GROUP = "group"
|
|
9
|
+
KEY = "key"
|
|
9
10
|
RESOURCE = "resource"
|
|
10
11
|
RESOURCETYPE = "resourcetype"
|
|
11
12
|
SCHEDULE = "schedule"
|
|
12
13
|
SCRIPT = "script"
|
|
13
14
|
SECRET = "secret"
|
|
15
|
+
SETTINGS = "settings"
|
|
14
16
|
TRIGGER = "trigger"
|
|
15
17
|
USER = "user"
|
|
16
18
|
VARIABLE = "variable"
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
2
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
5
5
|
|
|
6
|
-
from ..models.workspace_git_sync_settings_include_type_item import WorkspaceGitSyncSettingsIncludeTypeItem
|
|
7
6
|
from ..types import UNSET, Unset
|
|
8
7
|
|
|
9
8
|
if TYPE_CHECKING:
|
|
@@ -17,29 +16,13 @@ T = TypeVar("T", bound="WorkspaceGitSyncSettings")
|
|
|
17
16
|
class WorkspaceGitSyncSettings:
|
|
18
17
|
"""
|
|
19
18
|
Attributes:
|
|
20
|
-
include_path (Union[Unset, List[str]]):
|
|
21
|
-
include_type (Union[Unset, List[WorkspaceGitSyncSettingsIncludeTypeItem]]):
|
|
22
19
|
repositories (Union[Unset, List['WorkspaceGitSyncSettingsRepositoriesItem']]):
|
|
23
20
|
"""
|
|
24
21
|
|
|
25
|
-
include_path: Union[Unset, List[str]] = UNSET
|
|
26
|
-
include_type: Union[Unset, List[WorkspaceGitSyncSettingsIncludeTypeItem]] = UNSET
|
|
27
22
|
repositories: Union[Unset, List["WorkspaceGitSyncSettingsRepositoriesItem"]] = UNSET
|
|
28
23
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
29
24
|
|
|
30
25
|
def to_dict(self) -> Dict[str, Any]:
|
|
31
|
-
include_path: Union[Unset, List[str]] = UNSET
|
|
32
|
-
if not isinstance(self.include_path, Unset):
|
|
33
|
-
include_path = self.include_path
|
|
34
|
-
|
|
35
|
-
include_type: Union[Unset, List[str]] = UNSET
|
|
36
|
-
if not isinstance(self.include_type, Unset):
|
|
37
|
-
include_type = []
|
|
38
|
-
for include_type_item_data in self.include_type:
|
|
39
|
-
include_type_item = include_type_item_data.value
|
|
40
|
-
|
|
41
|
-
include_type.append(include_type_item)
|
|
42
|
-
|
|
43
26
|
repositories: Union[Unset, List[Dict[str, Any]]] = UNSET
|
|
44
27
|
if not isinstance(self.repositories, Unset):
|
|
45
28
|
repositories = []
|
|
@@ -51,10 +34,6 @@ class WorkspaceGitSyncSettings:
|
|
|
51
34
|
field_dict: Dict[str, Any] = {}
|
|
52
35
|
field_dict.update(self.additional_properties)
|
|
53
36
|
field_dict.update({})
|
|
54
|
-
if include_path is not UNSET:
|
|
55
|
-
field_dict["include_path"] = include_path
|
|
56
|
-
if include_type is not UNSET:
|
|
57
|
-
field_dict["include_type"] = include_type
|
|
58
37
|
if repositories is not UNSET:
|
|
59
38
|
field_dict["repositories"] = repositories
|
|
60
39
|
|
|
@@ -65,15 +44,6 @@ class WorkspaceGitSyncSettings:
|
|
|
65
44
|
from ..models.workspace_git_sync_settings_repositories_item import WorkspaceGitSyncSettingsRepositoriesItem
|
|
66
45
|
|
|
67
46
|
d = src_dict.copy()
|
|
68
|
-
include_path = cast(List[str], d.pop("include_path", UNSET))
|
|
69
|
-
|
|
70
|
-
include_type = []
|
|
71
|
-
_include_type = d.pop("include_type", UNSET)
|
|
72
|
-
for include_type_item_data in _include_type or []:
|
|
73
|
-
include_type_item = WorkspaceGitSyncSettingsIncludeTypeItem(include_type_item_data)
|
|
74
|
-
|
|
75
|
-
include_type.append(include_type_item)
|
|
76
|
-
|
|
77
47
|
repositories = []
|
|
78
48
|
_repositories = d.pop("repositories", UNSET)
|
|
79
49
|
for repositories_item_data in _repositories or []:
|
|
@@ -82,8 +52,6 @@ class WorkspaceGitSyncSettings:
|
|
|
82
52
|
repositories.append(repositories_item)
|
|
83
53
|
|
|
84
54
|
workspace_git_sync_settings = cls(
|
|
85
|
-
include_path=include_path,
|
|
86
|
-
include_type=include_type,
|
|
87
55
|
repositories=repositories,
|
|
88
56
|
)
|
|
89
57
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
2
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
@@ -8,6 +8,12 @@ from ..models.workspace_git_sync_settings_repositories_item_exclude_types_overri
|
|
|
8
8
|
)
|
|
9
9
|
from ..types import UNSET, Unset
|
|
10
10
|
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
from ..models.workspace_git_sync_settings_repositories_item_settings import (
|
|
13
|
+
WorkspaceGitSyncSettingsRepositoriesItemSettings,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
|
|
11
17
|
T = TypeVar("T", bound="WorkspaceGitSyncSettingsRepositoriesItem")
|
|
12
18
|
|
|
13
19
|
|
|
@@ -19,6 +25,8 @@ class WorkspaceGitSyncSettingsRepositoriesItem:
|
|
|
19
25
|
git_repo_resource_path (str):
|
|
20
26
|
use_individual_branch (Union[Unset, bool]):
|
|
21
27
|
group_by_folder (Union[Unset, bool]):
|
|
28
|
+
collapsed (Union[Unset, bool]):
|
|
29
|
+
settings (Union[Unset, WorkspaceGitSyncSettingsRepositoriesItemSettings]):
|
|
22
30
|
exclude_types_override (Union[Unset, List[WorkspaceGitSyncSettingsRepositoriesItemExcludeTypesOverrideItem]]):
|
|
23
31
|
"""
|
|
24
32
|
|
|
@@ -26,6 +34,8 @@ class WorkspaceGitSyncSettingsRepositoriesItem:
|
|
|
26
34
|
git_repo_resource_path: str
|
|
27
35
|
use_individual_branch: Union[Unset, bool] = UNSET
|
|
28
36
|
group_by_folder: Union[Unset, bool] = UNSET
|
|
37
|
+
collapsed: Union[Unset, bool] = UNSET
|
|
38
|
+
settings: Union[Unset, "WorkspaceGitSyncSettingsRepositoriesItemSettings"] = UNSET
|
|
29
39
|
exclude_types_override: Union[Unset, List[WorkspaceGitSyncSettingsRepositoriesItemExcludeTypesOverrideItem]] = UNSET
|
|
30
40
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
31
41
|
|
|
@@ -34,6 +44,11 @@ class WorkspaceGitSyncSettingsRepositoriesItem:
|
|
|
34
44
|
git_repo_resource_path = self.git_repo_resource_path
|
|
35
45
|
use_individual_branch = self.use_individual_branch
|
|
36
46
|
group_by_folder = self.group_by_folder
|
|
47
|
+
collapsed = self.collapsed
|
|
48
|
+
settings: Union[Unset, Dict[str, Any]] = UNSET
|
|
49
|
+
if not isinstance(self.settings, Unset):
|
|
50
|
+
settings = self.settings.to_dict()
|
|
51
|
+
|
|
37
52
|
exclude_types_override: Union[Unset, List[str]] = UNSET
|
|
38
53
|
if not isinstance(self.exclude_types_override, Unset):
|
|
39
54
|
exclude_types_override = []
|
|
@@ -54,6 +69,10 @@ class WorkspaceGitSyncSettingsRepositoriesItem:
|
|
|
54
69
|
field_dict["use_individual_branch"] = use_individual_branch
|
|
55
70
|
if group_by_folder is not UNSET:
|
|
56
71
|
field_dict["group_by_folder"] = group_by_folder
|
|
72
|
+
if collapsed is not UNSET:
|
|
73
|
+
field_dict["collapsed"] = collapsed
|
|
74
|
+
if settings is not UNSET:
|
|
75
|
+
field_dict["settings"] = settings
|
|
57
76
|
if exclude_types_override is not UNSET:
|
|
58
77
|
field_dict["exclude_types_override"] = exclude_types_override
|
|
59
78
|
|
|
@@ -61,6 +80,10 @@ class WorkspaceGitSyncSettingsRepositoriesItem:
|
|
|
61
80
|
|
|
62
81
|
@classmethod
|
|
63
82
|
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
83
|
+
from ..models.workspace_git_sync_settings_repositories_item_settings import (
|
|
84
|
+
WorkspaceGitSyncSettingsRepositoriesItemSettings,
|
|
85
|
+
)
|
|
86
|
+
|
|
64
87
|
d = src_dict.copy()
|
|
65
88
|
script_path = d.pop("script_path")
|
|
66
89
|
|
|
@@ -70,6 +93,15 @@ class WorkspaceGitSyncSettingsRepositoriesItem:
|
|
|
70
93
|
|
|
71
94
|
group_by_folder = d.pop("group_by_folder", UNSET)
|
|
72
95
|
|
|
96
|
+
collapsed = d.pop("collapsed", UNSET)
|
|
97
|
+
|
|
98
|
+
_settings = d.pop("settings", UNSET)
|
|
99
|
+
settings: Union[Unset, WorkspaceGitSyncSettingsRepositoriesItemSettings]
|
|
100
|
+
if isinstance(_settings, Unset):
|
|
101
|
+
settings = UNSET
|
|
102
|
+
else:
|
|
103
|
+
settings = WorkspaceGitSyncSettingsRepositoriesItemSettings.from_dict(_settings)
|
|
104
|
+
|
|
73
105
|
exclude_types_override = []
|
|
74
106
|
_exclude_types_override = d.pop("exclude_types_override", UNSET)
|
|
75
107
|
for exclude_types_override_item_data in _exclude_types_override or []:
|
|
@@ -84,6 +116,8 @@ class WorkspaceGitSyncSettingsRepositoriesItem:
|
|
|
84
116
|
git_repo_resource_path=git_repo_resource_path,
|
|
85
117
|
use_individual_branch=use_individual_branch,
|
|
86
118
|
group_by_folder=group_by_folder,
|
|
119
|
+
collapsed=collapsed,
|
|
120
|
+
settings=settings,
|
|
87
121
|
exclude_types_override=exclude_types_override,
|
|
88
122
|
)
|
|
89
123
|
|
windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_override_item.py
CHANGED
|
@@ -6,11 +6,13 @@ class WorkspaceGitSyncSettingsRepositoriesItemExcludeTypesOverrideItem(str, Enum
|
|
|
6
6
|
FLOW = "flow"
|
|
7
7
|
FOLDER = "folder"
|
|
8
8
|
GROUP = "group"
|
|
9
|
+
KEY = "key"
|
|
9
10
|
RESOURCE = "resource"
|
|
10
11
|
RESOURCETYPE = "resourcetype"
|
|
11
12
|
SCHEDULE = "schedule"
|
|
12
13
|
SCRIPT = "script"
|
|
13
14
|
SECRET = "secret"
|
|
15
|
+
SETTINGS = "settings"
|
|
14
16
|
TRIGGER = "trigger"
|
|
15
17
|
USER = "user"
|
|
16
18
|
VARIABLE = "variable"
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union, cast
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..models.workspace_git_sync_settings_repositories_item_settings_include_type_item import (
|
|
7
|
+
WorkspaceGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem,
|
|
8
|
+
)
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="WorkspaceGitSyncSettingsRepositoriesItemSettings")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class WorkspaceGitSyncSettingsRepositoriesItemSettings:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
include_path (Union[Unset, List[str]]):
|
|
19
|
+
include_type (Union[Unset, List[WorkspaceGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem]]):
|
|
20
|
+
exclude_path (Union[Unset, List[str]]):
|
|
21
|
+
extra_include_path (Union[Unset, List[str]]):
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
include_path: Union[Unset, List[str]] = UNSET
|
|
25
|
+
include_type: Union[Unset, List[WorkspaceGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem]] = UNSET
|
|
26
|
+
exclude_path: Union[Unset, List[str]] = UNSET
|
|
27
|
+
extra_include_path: Union[Unset, List[str]] = UNSET
|
|
28
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
29
|
+
|
|
30
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
31
|
+
include_path: Union[Unset, List[str]] = UNSET
|
|
32
|
+
if not isinstance(self.include_path, Unset):
|
|
33
|
+
include_path = self.include_path
|
|
34
|
+
|
|
35
|
+
include_type: Union[Unset, List[str]] = UNSET
|
|
36
|
+
if not isinstance(self.include_type, Unset):
|
|
37
|
+
include_type = []
|
|
38
|
+
for include_type_item_data in self.include_type:
|
|
39
|
+
include_type_item = include_type_item_data.value
|
|
40
|
+
|
|
41
|
+
include_type.append(include_type_item)
|
|
42
|
+
|
|
43
|
+
exclude_path: Union[Unset, List[str]] = UNSET
|
|
44
|
+
if not isinstance(self.exclude_path, Unset):
|
|
45
|
+
exclude_path = self.exclude_path
|
|
46
|
+
|
|
47
|
+
extra_include_path: Union[Unset, List[str]] = UNSET
|
|
48
|
+
if not isinstance(self.extra_include_path, Unset):
|
|
49
|
+
extra_include_path = self.extra_include_path
|
|
50
|
+
|
|
51
|
+
field_dict: Dict[str, Any] = {}
|
|
52
|
+
field_dict.update(self.additional_properties)
|
|
53
|
+
field_dict.update({})
|
|
54
|
+
if include_path is not UNSET:
|
|
55
|
+
field_dict["include_path"] = include_path
|
|
56
|
+
if include_type is not UNSET:
|
|
57
|
+
field_dict["include_type"] = include_type
|
|
58
|
+
if exclude_path is not UNSET:
|
|
59
|
+
field_dict["exclude_path"] = exclude_path
|
|
60
|
+
if extra_include_path is not UNSET:
|
|
61
|
+
field_dict["extra_include_path"] = extra_include_path
|
|
62
|
+
|
|
63
|
+
return field_dict
|
|
64
|
+
|
|
65
|
+
@classmethod
|
|
66
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
67
|
+
d = src_dict.copy()
|
|
68
|
+
include_path = cast(List[str], d.pop("include_path", UNSET))
|
|
69
|
+
|
|
70
|
+
include_type = []
|
|
71
|
+
_include_type = d.pop("include_type", UNSET)
|
|
72
|
+
for include_type_item_data in _include_type or []:
|
|
73
|
+
include_type_item = WorkspaceGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem(include_type_item_data)
|
|
74
|
+
|
|
75
|
+
include_type.append(include_type_item)
|
|
76
|
+
|
|
77
|
+
exclude_path = cast(List[str], d.pop("exclude_path", UNSET))
|
|
78
|
+
|
|
79
|
+
extra_include_path = cast(List[str], d.pop("extra_include_path", UNSET))
|
|
80
|
+
|
|
81
|
+
workspace_git_sync_settings_repositories_item_settings = cls(
|
|
82
|
+
include_path=include_path,
|
|
83
|
+
include_type=include_type,
|
|
84
|
+
exclude_path=exclude_path,
|
|
85
|
+
extra_include_path=extra_include_path,
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
workspace_git_sync_settings_repositories_item_settings.additional_properties = d
|
|
89
|
+
return workspace_git_sync_settings_repositories_item_settings
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def additional_keys(self) -> List[str]:
|
|
93
|
+
return list(self.additional_properties.keys())
|
|
94
|
+
|
|
95
|
+
def __getitem__(self, key: str) -> Any:
|
|
96
|
+
return self.additional_properties[key]
|
|
97
|
+
|
|
98
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
99
|
+
self.additional_properties[key] = value
|
|
100
|
+
|
|
101
|
+
def __delitem__(self, key: str) -> None:
|
|
102
|
+
del self.additional_properties[key]
|
|
103
|
+
|
|
104
|
+
def __contains__(self, key: str) -> bool:
|
|
105
|
+
return key in self.additional_properties
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
from enum import Enum
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class WorkspaceGitSyncSettingsRepositoriesItemSettingsIncludeTypeItem(str, Enum):
|
|
5
5
|
APP = "app"
|
|
6
6
|
FLOW = "flow"
|
|
7
7
|
FOLDER = "folder"
|
|
8
8
|
GROUP = "group"
|
|
9
|
+
KEY = "key"
|
|
9
10
|
RESOURCE = "resource"
|
|
10
11
|
RESOURCETYPE = "resourcetype"
|
|
11
12
|
SCHEDULE = "schedule"
|
|
12
13
|
SCRIPT = "script"
|
|
13
14
|
SECRET = "secret"
|
|
15
|
+
SETTINGS = "settings"
|
|
14
16
|
TRIGGER = "trigger"
|
|
15
17
|
USER = "user"
|
|
16
18
|
VARIABLE = "variable"
|
|
@@ -1129,10 +1129,11 @@ windmill_api/models/edit_workspace_deploy_ui_settings_json_body.py,sha256=2RMLsw
|
|
|
1129
1129
|
windmill_api/models/edit_workspace_deploy_ui_settings_json_body_deploy_ui_settings.py,sha256=yLSmZ1940K1JBfoTQr16Sc1go-y3pGDg236hZmnvGeY,3177
|
|
1130
1130
|
windmill_api/models/edit_workspace_deploy_ui_settings_json_body_deploy_ui_settings_include_type_item.py,sha256=u01JaEW5ing3I6Ey8xxTYxzAbbxRr-Y1yuxSi0XkE5k,327
|
|
1131
1131
|
windmill_api/models/edit_workspace_git_sync_config_json_body.py,sha256=F2NtYaGpgWMw8mH6fZFMikW7Y1A2V2jSQN1RaKb_y3U,2663
|
|
1132
|
-
windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings.py,sha256=
|
|
1133
|
-
windmill_api/models/
|
|
1134
|
-
windmill_api/models/
|
|
1135
|
-
windmill_api/models/
|
|
1132
|
+
windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings.py,sha256=tRgcb_urChFCIoOF_S7cikJqeq6hLIpUT3bhQEle6yg,2957
|
|
1133
|
+
windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item.py,sha256=LJTJEOb8fXz7V87WrkfmbQjjDiHpSg-ajC5njUNItl0,6105
|
|
1134
|
+
windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_exclude_types_override_item.py,sha256=jjvIwRsCVSuM083fHBvrX7t2z1F8FhYA44mB1gNdz4s,510
|
|
1135
|
+
windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings.py,sha256=SjgIZ3TYpcL98I0oj7QhONOjMIodRu1qWPA7AeYAdMA,4437
|
|
1136
|
+
windmill_api/models/edit_workspace_git_sync_config_json_body_git_sync_settings_repositories_item_settings_include_type_item.py,sha256=ly-HeQDKCj1fBKDAYkPpR7IEqt1mIdl-tkMHpAY-l9k,509
|
|
1136
1137
|
windmill_api/models/edit_workspace_user.py,sha256=zjcNtVcXPR8ekOWERQBAaEhkgSxqI9O6NXjysUk48is,2121
|
|
1137
1138
|
windmill_api/models/execute_component_json_body.py,sha256=6EVpxhIQr5uVzk8MvkufSSNClK5ABHHoOE7CFU3n3Oo,6800
|
|
1138
1139
|
windmill_api/models/execute_component_json_body_force_viewer_one_of_fields.py,sha256=JXxJ5OKE-NAakLvdewfcKE1F0-12c4h2gVSemd08vMY,1406
|
|
@@ -2372,10 +2373,11 @@ windmill_api/models/get_settings_response_200_default_scripts.py,sha256=Jj7LAapG
|
|
|
2372
2373
|
windmill_api/models/get_settings_response_200_deploy_ui.py,sha256=ObNS_KBx9zQipqeKubJiNlzjBsVmNvpC0TZflBUkO2w,2892
|
|
2373
2374
|
windmill_api/models/get_settings_response_200_deploy_ui_include_type_item.py,sha256=jRqTf0Ssep-SpNPa9tJDD2W9-FTr-mC4qVPXV_2LN_Q,304
|
|
2374
2375
|
windmill_api/models/get_settings_response_200_error_handler_extra_args.py,sha256=uUuDIJzSay50l4_UmGDqp2egUY5a7ke2lOSPQXr0MOc,1388
|
|
2375
|
-
windmill_api/models/get_settings_response_200_git_sync.py,sha256=
|
|
2376
|
-
windmill_api/models/
|
|
2377
|
-
windmill_api/models/
|
|
2378
|
-
windmill_api/models/
|
|
2376
|
+
windmill_api/models/get_settings_response_200_git_sync.py,sha256=GtXLBGjf98Mfhb2Fw1jasklJF_xSQEMwcNfwaa6SCH8,2667
|
|
2377
|
+
windmill_api/models/get_settings_response_200_git_sync_repositories_item.py,sha256=A_S8sZgFMWqCG6aGcgD06r4m_rHQEolYSzP7IiLf3RQ,5681
|
|
2378
|
+
windmill_api/models/get_settings_response_200_git_sync_repositories_item_exclude_types_override_item.py,sha256=kCpv1ZDMMHGHTWiGECd7JlLQf_6krz7qGFOyB3yOw-Y,490
|
|
2379
|
+
windmill_api/models/get_settings_response_200_git_sync_repositories_item_settings.py,sha256=kxYr9z2gGWwwdWzFA_r8NqT7oHlQXfA86WYh3YrC-pk,4155
|
|
2380
|
+
windmill_api/models/get_settings_response_200_git_sync_repositories_item_settings_include_type_item.py,sha256=hIPyYfhpafI0ti6shsqLLUjG58K1tqE-2UOYLuCB6iM,489
|
|
2379
2381
|
windmill_api/models/get_settings_response_200_large_file_storage.py,sha256=T5ER8EPkkC_oXVHBqG-1OWx_qzFjeVJMUEh6aHTVjeo,4959
|
|
2380
2382
|
windmill_api/models/get_settings_response_200_large_file_storage_secondary_storage.py,sha256=NA9KIXrWM1jPhWw2FlYU3-ev1ksJ0f-RpMDA_YDDrnY,2539
|
|
2381
2383
|
windmill_api/models/get_settings_response_200_large_file_storage_secondary_storage_additional_property.py,sha256=s_xITfXABageos63DfneMBN79vJRt02Mg0O5MIqvPrQ,4068
|
|
@@ -2590,8 +2592,10 @@ windmill_api/models/get_websocket_trigger_response_200_retry_exponential.py,sha2
|
|
|
2590
2592
|
windmill_api/models/get_websocket_trigger_response_200_url_runnable_args.py,sha256=P0Egqqfsc4SvXyRNPjiRZEYr-nxd9a29lNHrucRhqsc,1398
|
|
2591
2593
|
windmill_api/models/get_workspace_default_app_response_200.py,sha256=FKINlHD6u4qyUDJgJjDuDIyIsWAuvRdPKYQA9s_Y00g,1758
|
|
2592
2594
|
windmill_api/models/get_workspace_encryption_key_response_200.py,sha256=Fvs0c2FiaRvYp_qRzJ4xj-gQ-2mF58Ae5dOol6Onuow,1544
|
|
2593
|
-
windmill_api/models/git_repository_settings.py,sha256=
|
|
2594
|
-
windmill_api/models/git_repository_settings_exclude_types_override_item.py,sha256=
|
|
2595
|
+
windmill_api/models/git_repository_settings.py,sha256=UMuFUfq9jZIv7tMNkHl7mrkNHJ1fIByMfIIXI_mow38,5142
|
|
2596
|
+
windmill_api/models/git_repository_settings_exclude_types_override_item.py,sha256=UgHD6OCUPd7AZ4J9DEH14ZZZg010hizcPzlHb8g0d6A,466
|
|
2597
|
+
windmill_api/models/git_repository_settings_settings.py,sha256=J5A0J2GUmiXWAPS-jt8JWZcdgxRht_XBJz8PP8DxcCE,3856
|
|
2598
|
+
windmill_api/models/git_repository_settings_settings_include_type_item.py,sha256=5I72KGK9v7h3uQX3a-aJarho1a5MlU5Z20h4ze4EBao,465
|
|
2595
2599
|
windmill_api/models/github_installations_item.py,sha256=eQZySpUmGB8XibjaE1F7Iu11KtFr_Z7x_2XIM-RPsGU,3114
|
|
2596
2600
|
windmill_api/models/github_installations_item_repositories_item.py,sha256=ui-qQICI5iywFMczl6pDy3Ppaw1KsEkgex1HrNlkoaE,1698
|
|
2597
2601
|
windmill_api/models/global_setting.py,sha256=NZxAwAz5Rh8LMvpHqRAaVZhF0-cXR9897d1lyNrXeTU,1821
|
|
@@ -4284,16 +4288,17 @@ windmill_api/models/workspace_deploy_ui_settings.py,sha256=TGzzRl609jiVEVW4VwqeB
|
|
|
4284
4288
|
windmill_api/models/workspace_deploy_ui_settings_include_type_item.py,sha256=BI5FN-N-GYaJ5RIzUM1OOF-YwHj3oqhPQIihCxBIHJ0,299
|
|
4285
4289
|
windmill_api/models/workspace_get_critical_alerts_response_200.py,sha256=1Io4I9aWkg7GGDJYwQWSBNTW_vFAW4-MhTLKf5pmnmM,3275
|
|
4286
4290
|
windmill_api/models/workspace_get_critical_alerts_response_200_alerts_item.py,sha256=pjAKMe8U_VlNECSoGlYxiNAIevL-B6hjLfZn39v6RNw,3823
|
|
4287
|
-
windmill_api/models/workspace_git_sync_settings.py,sha256=
|
|
4288
|
-
windmill_api/models/
|
|
4289
|
-
windmill_api/models/
|
|
4290
|
-
windmill_api/models/
|
|
4291
|
+
windmill_api/models/workspace_git_sync_settings.py,sha256=2f0o0KBsKj3EGS5SHsxxUbY_vzTnv3P6k9nLL7-1jQg,2555
|
|
4292
|
+
windmill_api/models/workspace_git_sync_settings_repositories_item.py,sha256=vxT1Rzw6sJDJoZ1dzaDRDR777uHie7yigmtUPriwLuE,5553
|
|
4293
|
+
windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_override_item.py,sha256=9qeJaehjFRPtBHrHy6ULCpGkX120Za_L175TZ9D9_Vw,485
|
|
4294
|
+
windmill_api/models/workspace_git_sync_settings_repositories_item_settings.py,sha256=wOsoHCklrMDX3koMbMFHHleN1PaTO1eUrqbw4mcArQY,4067
|
|
4295
|
+
windmill_api/models/workspace_git_sync_settings_repositories_item_settings_include_type_item.py,sha256=lubjjNkSHXEP28MEkyM8LYf2TEz4bhdsO7Kya3v8Etc,484
|
|
4291
4296
|
windmill_api/models/workspace_github_installation.py,sha256=Vqwewx9pTGHUp_NzRIKQw9zhOiTWojR8qG9LHGycG90,1816
|
|
4292
4297
|
windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1lixwUUXG6CXs,2037
|
|
4293
4298
|
windmill_api/models/workspace_mute_critical_alerts_ui_json_body.py,sha256=y8ZwkWEZgavVc-FgLuZZ4z8YPCLxjPcMfdGdKjGM6VQ,1883
|
|
4294
4299
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
4295
4300
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
4296
|
-
windmill_api-1.
|
|
4297
|
-
windmill_api-1.
|
|
4298
|
-
windmill_api-1.
|
|
4299
|
-
windmill_api-1.
|
|
4301
|
+
windmill_api-1.507.1.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
4302
|
+
windmill_api-1.507.1.dist-info/METADATA,sha256=QkUWOXJBC8G9ygHibnS8cVfVh5WF3zSMspKM0BXLkYI,5023
|
|
4303
|
+
windmill_api-1.507.1.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
4304
|
+
windmill_api-1.507.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|