windmill-api 1.376.1__py3-none-any.whl → 1.378.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/setting/create_customer_portal_session.py +25 -4
- windmill_api/api/setting/renew_license_key.py +25 -4
- {windmill_api-1.376.1.dist-info → windmill_api-1.378.0.dist-info}/METADATA +1 -1
- {windmill_api-1.376.1.dist-info → windmill_api-1.378.0.dist-info}/RECORD +6 -6
- {windmill_api-1.376.1.dist-info → windmill_api-1.378.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.376.1.dist-info → windmill_api-1.378.0.dist-info}/WHEEL +0 -0
|
@@ -5,15 +5,24 @@ import httpx
|
|
|
5
5
|
|
|
6
6
|
from ... import errors
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...types import Response
|
|
8
|
+
from ...types import UNSET, Response, Unset
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
def _get_kwargs(
|
|
11
|
+
def _get_kwargs(
|
|
12
|
+
*,
|
|
13
|
+
license_key: Union[Unset, None, str] = UNSET,
|
|
14
|
+
) -> Dict[str, Any]:
|
|
12
15
|
pass
|
|
13
16
|
|
|
17
|
+
params: Dict[str, Any] = {}
|
|
18
|
+
params["license_key"] = license_key
|
|
19
|
+
|
|
20
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
21
|
+
|
|
14
22
|
return {
|
|
15
23
|
"method": "post",
|
|
16
24
|
"url": "/settings/customer_portal",
|
|
25
|
+
"params": params,
|
|
17
26
|
}
|
|
18
27
|
|
|
19
28
|
|
|
@@ -36,9 +45,13 @@ def _build_response(*, client: Union[AuthenticatedClient, Client], response: htt
|
|
|
36
45
|
def sync_detailed(
|
|
37
46
|
*,
|
|
38
47
|
client: Union[AuthenticatedClient, Client],
|
|
48
|
+
license_key: Union[Unset, None, str] = UNSET,
|
|
39
49
|
) -> Response[Any]:
|
|
40
50
|
"""create customer portal session
|
|
41
51
|
|
|
52
|
+
Args:
|
|
53
|
+
license_key (Union[Unset, None, str]):
|
|
54
|
+
|
|
42
55
|
Raises:
|
|
43
56
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
44
57
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
@@ -47,7 +60,9 @@ def sync_detailed(
|
|
|
47
60
|
Response[Any]
|
|
48
61
|
"""
|
|
49
62
|
|
|
50
|
-
kwargs = _get_kwargs(
|
|
63
|
+
kwargs = _get_kwargs(
|
|
64
|
+
license_key=license_key,
|
|
65
|
+
)
|
|
51
66
|
|
|
52
67
|
response = client.get_httpx_client().request(
|
|
53
68
|
**kwargs,
|
|
@@ -59,9 +74,13 @@ def sync_detailed(
|
|
|
59
74
|
async def asyncio_detailed(
|
|
60
75
|
*,
|
|
61
76
|
client: Union[AuthenticatedClient, Client],
|
|
77
|
+
license_key: Union[Unset, None, str] = UNSET,
|
|
62
78
|
) -> Response[Any]:
|
|
63
79
|
"""create customer portal session
|
|
64
80
|
|
|
81
|
+
Args:
|
|
82
|
+
license_key (Union[Unset, None, str]):
|
|
83
|
+
|
|
65
84
|
Raises:
|
|
66
85
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
67
86
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
@@ -70,7 +89,9 @@ async def asyncio_detailed(
|
|
|
70
89
|
Response[Any]
|
|
71
90
|
"""
|
|
72
91
|
|
|
73
|
-
kwargs = _get_kwargs(
|
|
92
|
+
kwargs = _get_kwargs(
|
|
93
|
+
license_key=license_key,
|
|
94
|
+
)
|
|
74
95
|
|
|
75
96
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
76
97
|
|
|
@@ -5,15 +5,24 @@ import httpx
|
|
|
5
5
|
|
|
6
6
|
from ... import errors
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...types import Response
|
|
8
|
+
from ...types import UNSET, Response, Unset
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
def _get_kwargs(
|
|
11
|
+
def _get_kwargs(
|
|
12
|
+
*,
|
|
13
|
+
license_key: Union[Unset, None, str] = UNSET,
|
|
14
|
+
) -> Dict[str, Any]:
|
|
12
15
|
pass
|
|
13
16
|
|
|
17
|
+
params: Dict[str, Any] = {}
|
|
18
|
+
params["license_key"] = license_key
|
|
19
|
+
|
|
20
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
21
|
+
|
|
14
22
|
return {
|
|
15
23
|
"method": "post",
|
|
16
24
|
"url": "/settings/renew_license_key",
|
|
25
|
+
"params": params,
|
|
17
26
|
}
|
|
18
27
|
|
|
19
28
|
|
|
@@ -36,9 +45,13 @@ def _build_response(*, client: Union[AuthenticatedClient, Client], response: htt
|
|
|
36
45
|
def sync_detailed(
|
|
37
46
|
*,
|
|
38
47
|
client: Union[AuthenticatedClient, Client],
|
|
48
|
+
license_key: Union[Unset, None, str] = UNSET,
|
|
39
49
|
) -> Response[Any]:
|
|
40
50
|
"""renew license key
|
|
41
51
|
|
|
52
|
+
Args:
|
|
53
|
+
license_key (Union[Unset, None, str]):
|
|
54
|
+
|
|
42
55
|
Raises:
|
|
43
56
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
44
57
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
@@ -47,7 +60,9 @@ def sync_detailed(
|
|
|
47
60
|
Response[Any]
|
|
48
61
|
"""
|
|
49
62
|
|
|
50
|
-
kwargs = _get_kwargs(
|
|
63
|
+
kwargs = _get_kwargs(
|
|
64
|
+
license_key=license_key,
|
|
65
|
+
)
|
|
51
66
|
|
|
52
67
|
response = client.get_httpx_client().request(
|
|
53
68
|
**kwargs,
|
|
@@ -59,9 +74,13 @@ def sync_detailed(
|
|
|
59
74
|
async def asyncio_detailed(
|
|
60
75
|
*,
|
|
61
76
|
client: Union[AuthenticatedClient, Client],
|
|
77
|
+
license_key: Union[Unset, None, str] = UNSET,
|
|
62
78
|
) -> Response[Any]:
|
|
63
79
|
"""renew license key
|
|
64
80
|
|
|
81
|
+
Args:
|
|
82
|
+
license_key (Union[Unset, None, str]):
|
|
83
|
+
|
|
65
84
|
Raises:
|
|
66
85
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
67
86
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
@@ -70,7 +89,9 @@ async def asyncio_detailed(
|
|
|
70
89
|
Response[Any]
|
|
71
90
|
"""
|
|
72
91
|
|
|
73
|
-
kwargs = _get_kwargs(
|
|
92
|
+
kwargs = _get_kwargs(
|
|
93
|
+
license_key=license_key,
|
|
94
|
+
)
|
|
74
95
|
|
|
75
96
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
76
97
|
|
|
@@ -244,12 +244,12 @@ windmill_api/api/script/raw_script_by_path_tokened.py,sha256=SGbwTzl-03V1aceSts_
|
|
|
244
244
|
windmill_api/api/script/toggle_workspace_error_handler_for_script.py,sha256=DTPlpQK4Qn4dT_hZZcCFs5dfJGFQ3K-jqG62hSi1Lr8,3137
|
|
245
245
|
windmill_api/api/script/update_script_history.py,sha256=mRE0R8_9RCIo5cmz6OtZEL6ytNrN11X22tZTaFjI9QQ,3088
|
|
246
246
|
windmill_api/api/setting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
247
|
-
windmill_api/api/setting/create_customer_portal_session.py,sha256=
|
|
247
|
+
windmill_api/api/setting/create_customer_portal_session.py,sha256=rUOT27UsoKKImfwdgIXF57u2fMWe-DtEaeFflD314mY,2608
|
|
248
248
|
windmill_api/api/setting/get_global.py,sha256=fROXxArQM5x7HHue_VWX9Y2i-Dm_byRs9Y1yIsYDogI,2287
|
|
249
249
|
windmill_api/api/setting/get_latest_key_renewal_attempt.py,sha256=MJtImlDMxdeizItTpsMIbBlWcJLc0pjwVTkeOIinAKE,3916
|
|
250
250
|
windmill_api/api/setting/get_local.py,sha256=zSx_gnsuRuDjUb0GA5tS5eiZk_8OVTM54j_d06Wxf2M,2092
|
|
251
251
|
windmill_api/api/setting/list_global_settings.py,sha256=1-gFCx7HLyU-I_5SGXvrKg8vkWqfwrYDi1YcehQUsrk,3789
|
|
252
|
-
windmill_api/api/setting/renew_license_key.py,sha256=
|
|
252
|
+
windmill_api/api/setting/renew_license_key.py,sha256=Pe8aWUBKv1_gRagYPafeZtrfCV8s3qUMKyYnKCoUn7E,2584
|
|
253
253
|
windmill_api/api/setting/send_stats.py,sha256=mcTxeJlSkxLAiFI7Ox6agX7xiki0XVWxtymaMt03FoA,2016
|
|
254
254
|
windmill_api/api/setting/set_global.py,sha256=h9qT9c3gOFhAefRBBb80acIZ4M7LaTSr18Y6ak4aJJE,2604
|
|
255
255
|
windmill_api/api/setting/test_license_key.py,sha256=p07Z9-7WhuP-sqnNK6ek22luluiocCFLjXdUeAc1kCM,2483
|
|
@@ -2552,7 +2552,7 @@ windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_
|
|
|
2552
2552
|
windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1lixwUUXG6CXs,2037
|
|
2553
2553
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
2554
2554
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
2555
|
-
windmill_api-1.
|
|
2556
|
-
windmill_api-1.
|
|
2557
|
-
windmill_api-1.
|
|
2558
|
-
windmill_api-1.
|
|
2555
|
+
windmill_api-1.378.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
2556
|
+
windmill_api-1.378.0.dist-info/METADATA,sha256=3jFvjClJlUl69o4ONmyge98w8y16kKTZZmBaku9qwag,5023
|
|
2557
|
+
windmill_api-1.378.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
2558
|
+
windmill_api-1.378.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|