windmill-api 1.567.2__py3-none-any.whl → 1.568.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/git_sync/get_global_connected_repositories.py +35 -4
- windmill_api/models/get_global_connected_repositories_response_200_item.py +14 -0
- windmill_api/models/github_installations_item.py +14 -0
- {windmill_api-1.567.2.dist-info → windmill_api-1.568.0.dist-info}/METADATA +1 -1
- {windmill_api-1.567.2.dist-info → windmill_api-1.568.0.dist-info}/RECORD +7 -7
- {windmill_api-1.567.2.dist-info → windmill_api-1.568.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.567.2.dist-info → windmill_api-1.568.0.dist-info}/WHEEL +0 -0
|
@@ -6,15 +6,24 @@ import httpx
|
|
|
6
6
|
from ... import errors
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
8
|
from ...models.get_global_connected_repositories_response_200_item import GetGlobalConnectedRepositoriesResponse200Item
|
|
9
|
-
from ...types import Response
|
|
9
|
+
from ...types import UNSET, Response, Unset
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
def _get_kwargs(
|
|
12
|
+
def _get_kwargs(
|
|
13
|
+
*,
|
|
14
|
+
search: Union[Unset, None, str] = UNSET,
|
|
15
|
+
) -> Dict[str, Any]:
|
|
13
16
|
pass
|
|
14
17
|
|
|
18
|
+
params: Dict[str, Any] = {}
|
|
19
|
+
params["search"] = search
|
|
20
|
+
|
|
21
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
22
|
+
|
|
15
23
|
return {
|
|
16
24
|
"method": "get",
|
|
17
25
|
"url": "/github_app/connected_repositories",
|
|
26
|
+
"params": params,
|
|
18
27
|
}
|
|
19
28
|
|
|
20
29
|
|
|
@@ -50,9 +59,13 @@ def _build_response(
|
|
|
50
59
|
def sync_detailed(
|
|
51
60
|
*,
|
|
52
61
|
client: Union[AuthenticatedClient, Client],
|
|
62
|
+
search: Union[Unset, None, str] = UNSET,
|
|
53
63
|
) -> Response[List["GetGlobalConnectedRepositoriesResponse200Item"]]:
|
|
54
64
|
"""get connected repositories
|
|
55
65
|
|
|
66
|
+
Args:
|
|
67
|
+
search (Union[Unset, None, str]):
|
|
68
|
+
|
|
56
69
|
Raises:
|
|
57
70
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
58
71
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
@@ -61,7 +74,9 @@ def sync_detailed(
|
|
|
61
74
|
Response[List['GetGlobalConnectedRepositoriesResponse200Item']]
|
|
62
75
|
"""
|
|
63
76
|
|
|
64
|
-
kwargs = _get_kwargs(
|
|
77
|
+
kwargs = _get_kwargs(
|
|
78
|
+
search=search,
|
|
79
|
+
)
|
|
65
80
|
|
|
66
81
|
response = client.get_httpx_client().request(
|
|
67
82
|
**kwargs,
|
|
@@ -73,9 +88,13 @@ def sync_detailed(
|
|
|
73
88
|
def sync(
|
|
74
89
|
*,
|
|
75
90
|
client: Union[AuthenticatedClient, Client],
|
|
91
|
+
search: Union[Unset, None, str] = UNSET,
|
|
76
92
|
) -> Optional[List["GetGlobalConnectedRepositoriesResponse200Item"]]:
|
|
77
93
|
"""get connected repositories
|
|
78
94
|
|
|
95
|
+
Args:
|
|
96
|
+
search (Union[Unset, None, str]):
|
|
97
|
+
|
|
79
98
|
Raises:
|
|
80
99
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
81
100
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
@@ -86,15 +105,20 @@ def sync(
|
|
|
86
105
|
|
|
87
106
|
return sync_detailed(
|
|
88
107
|
client=client,
|
|
108
|
+
search=search,
|
|
89
109
|
).parsed
|
|
90
110
|
|
|
91
111
|
|
|
92
112
|
async def asyncio_detailed(
|
|
93
113
|
*,
|
|
94
114
|
client: Union[AuthenticatedClient, Client],
|
|
115
|
+
search: Union[Unset, None, str] = UNSET,
|
|
95
116
|
) -> Response[List["GetGlobalConnectedRepositoriesResponse200Item"]]:
|
|
96
117
|
"""get connected repositories
|
|
97
118
|
|
|
119
|
+
Args:
|
|
120
|
+
search (Union[Unset, None, str]):
|
|
121
|
+
|
|
98
122
|
Raises:
|
|
99
123
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
100
124
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
@@ -103,7 +127,9 @@ async def asyncio_detailed(
|
|
|
103
127
|
Response[List['GetGlobalConnectedRepositoriesResponse200Item']]
|
|
104
128
|
"""
|
|
105
129
|
|
|
106
|
-
kwargs = _get_kwargs(
|
|
130
|
+
kwargs = _get_kwargs(
|
|
131
|
+
search=search,
|
|
132
|
+
)
|
|
107
133
|
|
|
108
134
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
109
135
|
|
|
@@ -113,9 +139,13 @@ async def asyncio_detailed(
|
|
|
113
139
|
async def asyncio(
|
|
114
140
|
*,
|
|
115
141
|
client: Union[AuthenticatedClient, Client],
|
|
142
|
+
search: Union[Unset, None, str] = UNSET,
|
|
116
143
|
) -> Optional[List["GetGlobalConnectedRepositoriesResponse200Item"]]:
|
|
117
144
|
"""get connected repositories
|
|
118
145
|
|
|
146
|
+
Args:
|
|
147
|
+
search (Union[Unset, None, str]):
|
|
148
|
+
|
|
119
149
|
Raises:
|
|
120
150
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
121
151
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
@@ -127,5 +157,6 @@ async def asyncio(
|
|
|
127
157
|
return (
|
|
128
158
|
await asyncio_detailed(
|
|
129
159
|
client=client,
|
|
160
|
+
search=search,
|
|
130
161
|
)
|
|
131
162
|
).parsed
|
|
@@ -21,12 +21,16 @@ class GetGlobalConnectedRepositoriesResponse200Item:
|
|
|
21
21
|
installation_id (float):
|
|
22
22
|
account_id (str):
|
|
23
23
|
repositories (List['GetGlobalConnectedRepositoriesResponse200ItemRepositoriesItem']):
|
|
24
|
+
total_count (float): Total number of repositories available for this installation
|
|
25
|
+
per_page (float): Number of repositories loaded per page
|
|
24
26
|
workspace_id (Union[Unset, str]):
|
|
25
27
|
"""
|
|
26
28
|
|
|
27
29
|
installation_id: float
|
|
28
30
|
account_id: str
|
|
29
31
|
repositories: List["GetGlobalConnectedRepositoriesResponse200ItemRepositoriesItem"]
|
|
32
|
+
total_count: float
|
|
33
|
+
per_page: float
|
|
30
34
|
workspace_id: Union[Unset, str] = UNSET
|
|
31
35
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
36
|
|
|
@@ -39,6 +43,8 @@ class GetGlobalConnectedRepositoriesResponse200Item:
|
|
|
39
43
|
|
|
40
44
|
repositories.append(repositories_item)
|
|
41
45
|
|
|
46
|
+
total_count = self.total_count
|
|
47
|
+
per_page = self.per_page
|
|
42
48
|
workspace_id = self.workspace_id
|
|
43
49
|
|
|
44
50
|
field_dict: Dict[str, Any] = {}
|
|
@@ -48,6 +54,8 @@ class GetGlobalConnectedRepositoriesResponse200Item:
|
|
|
48
54
|
"installation_id": installation_id,
|
|
49
55
|
"account_id": account_id,
|
|
50
56
|
"repositories": repositories,
|
|
57
|
+
"total_count": total_count,
|
|
58
|
+
"per_page": per_page,
|
|
51
59
|
}
|
|
52
60
|
)
|
|
53
61
|
if workspace_id is not UNSET:
|
|
@@ -75,12 +83,18 @@ class GetGlobalConnectedRepositoriesResponse200Item:
|
|
|
75
83
|
|
|
76
84
|
repositories.append(repositories_item)
|
|
77
85
|
|
|
86
|
+
total_count = d.pop("total_count")
|
|
87
|
+
|
|
88
|
+
per_page = d.pop("per_page")
|
|
89
|
+
|
|
78
90
|
workspace_id = d.pop("workspace_id", UNSET)
|
|
79
91
|
|
|
80
92
|
get_global_connected_repositories_response_200_item = cls(
|
|
81
93
|
installation_id=installation_id,
|
|
82
94
|
account_id=account_id,
|
|
83
95
|
repositories=repositories,
|
|
96
|
+
total_count=total_count,
|
|
97
|
+
per_page=per_page,
|
|
84
98
|
workspace_id=workspace_id,
|
|
85
99
|
)
|
|
86
100
|
|
|
@@ -19,12 +19,16 @@ class GithubInstallationsItem:
|
|
|
19
19
|
installation_id (float):
|
|
20
20
|
account_id (str):
|
|
21
21
|
repositories (List['GithubInstallationsItemRepositoriesItem']):
|
|
22
|
+
total_count (float): Total number of repositories available for this installation
|
|
23
|
+
per_page (float): Number of repositories loaded per page
|
|
22
24
|
workspace_id (Union[Unset, str]):
|
|
23
25
|
"""
|
|
24
26
|
|
|
25
27
|
installation_id: float
|
|
26
28
|
account_id: str
|
|
27
29
|
repositories: List["GithubInstallationsItemRepositoriesItem"]
|
|
30
|
+
total_count: float
|
|
31
|
+
per_page: float
|
|
28
32
|
workspace_id: Union[Unset, str] = UNSET
|
|
29
33
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
30
34
|
|
|
@@ -37,6 +41,8 @@ class GithubInstallationsItem:
|
|
|
37
41
|
|
|
38
42
|
repositories.append(repositories_item)
|
|
39
43
|
|
|
44
|
+
total_count = self.total_count
|
|
45
|
+
per_page = self.per_page
|
|
40
46
|
workspace_id = self.workspace_id
|
|
41
47
|
|
|
42
48
|
field_dict: Dict[str, Any] = {}
|
|
@@ -46,6 +52,8 @@ class GithubInstallationsItem:
|
|
|
46
52
|
"installation_id": installation_id,
|
|
47
53
|
"account_id": account_id,
|
|
48
54
|
"repositories": repositories,
|
|
55
|
+
"total_count": total_count,
|
|
56
|
+
"per_page": per_page,
|
|
49
57
|
}
|
|
50
58
|
)
|
|
51
59
|
if workspace_id is not UNSET:
|
|
@@ -69,12 +77,18 @@ class GithubInstallationsItem:
|
|
|
69
77
|
|
|
70
78
|
repositories.append(repositories_item)
|
|
71
79
|
|
|
80
|
+
total_count = d.pop("total_count")
|
|
81
|
+
|
|
82
|
+
per_page = d.pop("per_page")
|
|
83
|
+
|
|
72
84
|
workspace_id = d.pop("workspace_id", UNSET)
|
|
73
85
|
|
|
74
86
|
github_installations_item = cls(
|
|
75
87
|
installation_id=installation_id,
|
|
76
88
|
account_id=account_id,
|
|
77
89
|
repositories=repositories,
|
|
90
|
+
total_count=total_count,
|
|
91
|
+
per_page=per_page,
|
|
78
92
|
workspace_id=workspace_id,
|
|
79
93
|
)
|
|
80
94
|
|
|
@@ -128,7 +128,7 @@ windmill_api/api/gcp_trigger/update_gcp_trigger.py,sha256=lIsUA3hY1vlpanc2jG9o3v
|
|
|
128
128
|
windmill_api/api/git_sync/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
129
129
|
windmill_api/api/git_sync/delete_from_workspace.py,sha256=xpEMs8aBxLWGahl2iqcbPzciYjWdx-v5ekp_zJVkdNs,2895
|
|
130
130
|
windmill_api/api/git_sync/export_installation.py,sha256=9e_yrCUIai5iX6xU5qFuxSEgT4LoU3p62U7CS8sbS5k,4766
|
|
131
|
-
windmill_api/api/git_sync/get_global_connected_repositories.py,sha256=
|
|
131
|
+
windmill_api/api/git_sync/get_global_connected_repositories.py,sha256=FtOoaaDahiq-rU0AftPBVplKTKr7Fo421rhmxaiCj_M,4721
|
|
132
132
|
windmill_api/api/git_sync/import_installation.py,sha256=P5itKxuLAE3agc4hsPCGTsDrGHVOUdCWifKam5pJpMw,3019
|
|
133
133
|
windmill_api/api/git_sync/install_from_workspace.py,sha256=zAEt2t62z4HSkosCg07eVx4Ecuolh9fzg9tg8zrdNKk,2904
|
|
134
134
|
windmill_api/api/granular_acl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -2558,7 +2558,7 @@ windmill_api/models/get_gcp_trigger_response_200_subscription_mode.py,sha256=fj2
|
|
|
2558
2558
|
windmill_api/models/get_git_commit_hash_response_200.py,sha256=sYfKzfvZyBqJJnHCfK7dFGRskDNhBDaZYL2_g7I9chE,1617
|
|
2559
2559
|
windmill_api/models/get_github_app_token_json_body.py,sha256=CnE22hyCp3RfOgoBzEjyq1WUpcV_Q4JHxQTPrSbVrEQ,1549
|
|
2560
2560
|
windmill_api/models/get_github_app_token_response_200.py,sha256=Eoo5xAitZIy5N4lfso0MSJC3r_jo1z7qiAvDyAacye0,1524
|
|
2561
|
-
windmill_api/models/get_global_connected_repositories_response_200_item.py,sha256=
|
|
2561
|
+
windmill_api/models/get_global_connected_repositories_response_200_item.py,sha256=S1hFWivvRiz1ml9UA6Clx_DGZjRECDue4JadSa0LEo4,3972
|
|
2562
2562
|
windmill_api/models/get_global_connected_repositories_response_200_item_repositories_item.py,sha256=uZ1k3HQW80V8rrJRBgJBTutFvdAZ38DROGmMZhNUqAc,1820
|
|
2563
2563
|
windmill_api/models/get_granular_acls_kind.py,sha256=UPlzrTHqvIF_GYudWoNuNMO17k0ddZ5DbY1HXhJFR-w,649
|
|
2564
2564
|
windmill_api/models/get_granular_acls_response_200.py,sha256=GBNLqaaap42IbGX8jniniFTUrtOFgiCLb5n5-2NKRIY,1297
|
|
@@ -3415,7 +3415,7 @@ windmill_api/models/git_repository_settings_exclude_types_override_item.py,sha25
|
|
|
3415
3415
|
windmill_api/models/git_repository_settings_settings.py,sha256=J5A0J2GUmiXWAPS-jt8JWZcdgxRht_XBJz8PP8DxcCE,3856
|
|
3416
3416
|
windmill_api/models/git_repository_settings_settings_include_type_item.py,sha256=5I72KGK9v7h3uQX3a-aJarho1a5MlU5Z20h4ze4EBao,465
|
|
3417
3417
|
windmill_api/models/git_sync_object_type.py,sha256=m8G9lKLN4bWeWuVIgOWSSw_5OcIev0noO4R36ENbsg4,438
|
|
3418
|
-
windmill_api/models/github_installations_item.py,sha256=
|
|
3418
|
+
windmill_api/models/github_installations_item.py,sha256=CGHq1Wcqa-n6LXxz3qnXprB9FImPq1l1k2gUK24UEvo,3616
|
|
3419
3419
|
windmill_api/models/github_installations_item_repositories_item.py,sha256=ui-qQICI5iywFMczl6pDy3Ppaw1KsEkgex1HrNlkoaE,1698
|
|
3420
3420
|
windmill_api/models/global_setting.py,sha256=NZxAwAz5Rh8LMvpHqRAaVZhF0-cXR9897d1lyNrXeTU,1821
|
|
3421
3421
|
windmill_api/models/global_setting_value.py,sha256=iNYDija5EzLJMOATmSzfaW54v5ijJS8ZWPkVDiMncb4,1248
|
|
@@ -5727,7 +5727,7 @@ windmill_api/models/workspace_invite.py,sha256=wp-J-VJLkXsfQzw1PdNPGQhETsFCFXh1e
|
|
|
5727
5727
|
windmill_api/models/workspace_mute_critical_alerts_ui_json_body.py,sha256=y8ZwkWEZgavVc-FgLuZZ4z8YPCLxjPcMfdGdKjGM6VQ,1883
|
|
5728
5728
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
5729
5729
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
5730
|
-
windmill_api-1.
|
|
5731
|
-
windmill_api-1.
|
|
5732
|
-
windmill_api-1.
|
|
5733
|
-
windmill_api-1.
|
|
5730
|
+
windmill_api-1.568.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
5731
|
+
windmill_api-1.568.0.dist-info/METADATA,sha256=DyB7VBrYUg7WHE2MkUzPXhMjhQV4x0r5-uFvvqqzj3U,5023
|
|
5732
|
+
windmill_api-1.568.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
5733
|
+
windmill_api-1.568.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|