windmill-api 1.371.3__py3-none-any.whl → 1.371.4__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.

@@ -13,12 +13,18 @@ def _get_kwargs(
13
13
  workspace: str,
14
14
  *,
15
15
  path_start: Union[Unset, None, str] = UNSET,
16
+ page: Union[Unset, None, int] = UNSET,
17
+ per_page: Union[Unset, None, int] = UNSET,
16
18
  ) -> Dict[str, Any]:
17
19
  pass
18
20
 
19
21
  params: Dict[str, Any] = {}
20
22
  params["path_start"] = path_start
21
23
 
24
+ params["page"] = page
25
+
26
+ params["per_page"] = per_page
27
+
22
28
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
23
29
 
24
30
  return {
@@ -64,12 +70,16 @@ def sync_detailed(
64
70
  *,
65
71
  client: Union[AuthenticatedClient, Client],
66
72
  path_start: Union[Unset, None, str] = UNSET,
73
+ page: Union[Unset, None, int] = UNSET,
74
+ per_page: Union[Unset, None, int] = UNSET,
67
75
  ) -> Response[List["ListVariableResponse200Item"]]:
68
76
  """list variables
69
77
 
70
78
  Args:
71
79
  workspace (str):
72
80
  path_start (Union[Unset, None, str]):
81
+ page (Union[Unset, None, int]):
82
+ per_page (Union[Unset, None, int]):
73
83
 
74
84
  Raises:
75
85
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -82,6 +92,8 @@ def sync_detailed(
82
92
  kwargs = _get_kwargs(
83
93
  workspace=workspace,
84
94
  path_start=path_start,
95
+ page=page,
96
+ per_page=per_page,
85
97
  )
86
98
 
87
99
  response = client.get_httpx_client().request(
@@ -96,12 +108,16 @@ def sync(
96
108
  *,
97
109
  client: Union[AuthenticatedClient, Client],
98
110
  path_start: Union[Unset, None, str] = UNSET,
111
+ page: Union[Unset, None, int] = UNSET,
112
+ per_page: Union[Unset, None, int] = UNSET,
99
113
  ) -> Optional[List["ListVariableResponse200Item"]]:
100
114
  """list variables
101
115
 
102
116
  Args:
103
117
  workspace (str):
104
118
  path_start (Union[Unset, None, str]):
119
+ page (Union[Unset, None, int]):
120
+ per_page (Union[Unset, None, int]):
105
121
 
106
122
  Raises:
107
123
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -115,6 +131,8 @@ def sync(
115
131
  workspace=workspace,
116
132
  client=client,
117
133
  path_start=path_start,
134
+ page=page,
135
+ per_page=per_page,
118
136
  ).parsed
119
137
 
120
138
 
@@ -123,12 +141,16 @@ async def asyncio_detailed(
123
141
  *,
124
142
  client: Union[AuthenticatedClient, Client],
125
143
  path_start: Union[Unset, None, str] = UNSET,
144
+ page: Union[Unset, None, int] = UNSET,
145
+ per_page: Union[Unset, None, int] = UNSET,
126
146
  ) -> Response[List["ListVariableResponse200Item"]]:
127
147
  """list variables
128
148
 
129
149
  Args:
130
150
  workspace (str):
131
151
  path_start (Union[Unset, None, str]):
152
+ page (Union[Unset, None, int]):
153
+ per_page (Union[Unset, None, int]):
132
154
 
133
155
  Raises:
134
156
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -141,6 +163,8 @@ async def asyncio_detailed(
141
163
  kwargs = _get_kwargs(
142
164
  workspace=workspace,
143
165
  path_start=path_start,
166
+ page=page,
167
+ per_page=per_page,
144
168
  )
145
169
 
146
170
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -153,12 +177,16 @@ async def asyncio(
153
177
  *,
154
178
  client: Union[AuthenticatedClient, Client],
155
179
  path_start: Union[Unset, None, str] = UNSET,
180
+ page: Union[Unset, None, int] = UNSET,
181
+ per_page: Union[Unset, None, int] = UNSET,
156
182
  ) -> Optional[List["ListVariableResponse200Item"]]:
157
183
  """list variables
158
184
 
159
185
  Args:
160
186
  workspace (str):
161
187
  path_start (Union[Unset, None, str]):
188
+ page (Union[Unset, None, int]):
189
+ per_page (Union[Unset, None, int]):
162
190
 
163
191
  Raises:
164
192
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -173,5 +201,7 @@ async def asyncio(
173
201
  workspace=workspace,
174
202
  client=client,
175
203
  path_start=path_start,
204
+ page=page,
205
+ per_page=per_page,
176
206
  )
177
207
  ).parsed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: windmill-api
3
- Version: 1.371.3
3
+ Version: 1.371.4
4
4
  Summary: A client library for accessing Windmill API
5
5
  License: Apache-2.0
6
6
  Author: Ruben Fiszel
@@ -308,7 +308,7 @@ windmill_api/api/variable/exists_variable.py,sha256=koJWlT143DidVCxXevywbxgZXN21
308
308
  windmill_api/api/variable/get_variable.py,sha256=aBCi9OizCUXvzuf7CV7_iokc5w5x18yFKK3dltDE5Jc,5619
309
309
  windmill_api/api/variable/get_variable_value.py,sha256=6FENTuxWO-31goSVBGoeToWcTHfmKNcbQ3oa0SxLRpc,3776
310
310
  windmill_api/api/variable/list_contextual_variables.py,sha256=E7Q82QQ2Sji3--u7E69w7taTek0nUzZo07sJT2A3Om0,4319
311
- windmill_api/api/variable/list_variable.py,sha256=GMv-NXNbOY2YK1E_9je0dZubJD77PC76DIly2B7-3no,4879
311
+ windmill_api/api/variable/list_variable.py,sha256=Z2GhT3JaIfyukGqxbvRF_-c0Gjq64hlsWdxP3ffJHSo,5919
312
312
  windmill_api/api/variable/update_variable.py,sha256=Ejny8KmC6HrbuZ4OHxOtOBLj3RD9NJlEKPOyX7sS_zE,3435
313
313
  windmill_api/api/worker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
314
314
  windmill_api/api/worker/exists_worker_with_tag.py,sha256=sh0LvJMp8V_dYG5b4Ok26j-_yl2MlAiHOQH1YkLhqfs,3563
@@ -2544,7 +2544,7 @@ windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_
2544
2544
  windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1lixwUUXG6CXs,2037
2545
2545
  windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
2546
2546
  windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
2547
- windmill_api-1.371.3.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
2548
- windmill_api-1.371.3.dist-info/METADATA,sha256=M7ggdGwm562DHeWI2UIORPxIK8QTPNj0aj0FBM1FSd0,5023
2549
- windmill_api-1.371.3.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
2550
- windmill_api-1.371.3.dist-info/RECORD,,
2547
+ windmill_api-1.371.4.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
2548
+ windmill_api-1.371.4.dist-info/METADATA,sha256=t9P1XDoKkFWWmtYKL4WXyfYcJYz_aTNT82xEg9JeVQ4,5023
2549
+ windmill_api-1.371.4.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
2550
+ windmill_api-1.371.4.dist-info/RECORD,,