windmill-api 1.545.0__py3-none-any.whl → 1.546.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.
- windmill_api/models/create_account_json_body.py +8 -8
- {windmill_api-1.545.0.dist-info → windmill_api-1.546.1.dist-info}/METADATA +1 -1
- {windmill_api-1.545.0.dist-info → windmill_api-1.546.1.dist-info}/RECORD +5 -5
- {windmill_api-1.545.0.dist-info → windmill_api-1.546.1.dist-info}/LICENSE +0 -0
- {windmill_api-1.545.0.dist-info → windmill_api-1.546.1.dist-info}/WHEEL +0 -0
|
@@ -12,9 +12,10 @@ T = TypeVar("T", bound="CreateAccountJsonBody")
|
|
|
12
12
|
class CreateAccountJsonBody:
|
|
13
13
|
"""
|
|
14
14
|
Attributes:
|
|
15
|
+
refresh_token (str): OAuth refresh token. For authorization_code flow, this contains the actual refresh token.
|
|
16
|
+
For client_credentials flow, this must be set to an empty string.
|
|
15
17
|
expires_in (int):
|
|
16
18
|
client (str):
|
|
17
|
-
refresh_token (Union[Unset, str]):
|
|
18
19
|
grant_type (Union[Unset, str]): Default: 'authorization_code'.
|
|
19
20
|
cc_client_id (Union[Unset, str]): OAuth client ID for resource-level credentials (client_credentials flow only)
|
|
20
21
|
cc_client_secret (Union[Unset, str]): OAuth client secret for resource-level credentials (client_credentials
|
|
@@ -23,9 +24,9 @@ class CreateAccountJsonBody:
|
|
|
23
24
|
flow only)
|
|
24
25
|
"""
|
|
25
26
|
|
|
27
|
+
refresh_token: str
|
|
26
28
|
expires_in: int
|
|
27
29
|
client: str
|
|
28
|
-
refresh_token: Union[Unset, str] = UNSET
|
|
29
30
|
grant_type: Union[Unset, str] = "authorization_code"
|
|
30
31
|
cc_client_id: Union[Unset, str] = UNSET
|
|
31
32
|
cc_client_secret: Union[Unset, str] = UNSET
|
|
@@ -33,9 +34,9 @@ class CreateAccountJsonBody:
|
|
|
33
34
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
34
35
|
|
|
35
36
|
def to_dict(self) -> Dict[str, Any]:
|
|
37
|
+
refresh_token = self.refresh_token
|
|
36
38
|
expires_in = self.expires_in
|
|
37
39
|
client = self.client
|
|
38
|
-
refresh_token = self.refresh_token
|
|
39
40
|
grant_type = self.grant_type
|
|
40
41
|
cc_client_id = self.cc_client_id
|
|
41
42
|
cc_client_secret = self.cc_client_secret
|
|
@@ -45,12 +46,11 @@ class CreateAccountJsonBody:
|
|
|
45
46
|
field_dict.update(self.additional_properties)
|
|
46
47
|
field_dict.update(
|
|
47
48
|
{
|
|
49
|
+
"refresh_token": refresh_token,
|
|
48
50
|
"expires_in": expires_in,
|
|
49
51
|
"client": client,
|
|
50
52
|
}
|
|
51
53
|
)
|
|
52
|
-
if refresh_token is not UNSET:
|
|
53
|
-
field_dict["refresh_token"] = refresh_token
|
|
54
54
|
if grant_type is not UNSET:
|
|
55
55
|
field_dict["grant_type"] = grant_type
|
|
56
56
|
if cc_client_id is not UNSET:
|
|
@@ -65,12 +65,12 @@ class CreateAccountJsonBody:
|
|
|
65
65
|
@classmethod
|
|
66
66
|
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
67
67
|
d = src_dict.copy()
|
|
68
|
+
refresh_token = d.pop("refresh_token")
|
|
69
|
+
|
|
68
70
|
expires_in = d.pop("expires_in")
|
|
69
71
|
|
|
70
72
|
client = d.pop("client")
|
|
71
73
|
|
|
72
|
-
refresh_token = d.pop("refresh_token", UNSET)
|
|
73
|
-
|
|
74
74
|
grant_type = d.pop("grant_type", UNSET)
|
|
75
75
|
|
|
76
76
|
cc_client_id = d.pop("cc_client_id", UNSET)
|
|
@@ -80,9 +80,9 @@ class CreateAccountJsonBody:
|
|
|
80
80
|
cc_token_url = d.pop("cc_token_url", UNSET)
|
|
81
81
|
|
|
82
82
|
create_account_json_body = cls(
|
|
83
|
+
refresh_token=refresh_token,
|
|
83
84
|
expires_in=expires_in,
|
|
84
85
|
client=client,
|
|
85
|
-
refresh_token=refresh_token,
|
|
86
86
|
grant_type=grant_type,
|
|
87
87
|
cc_client_id=cc_client_id,
|
|
88
88
|
cc_client_secret=cc_client_secret,
|
|
@@ -901,7 +901,7 @@ windmill_api/models/contextual_variable.py,sha256=CYU0_ENlCZN9aD2hztezo1o0kkVCH-
|
|
|
901
901
|
windmill_api/models/count_jobs_by_tag_response_200_item.py,sha256=AMJAY5SIA4BypdkB7EOpA45aYBjd95-Ae2v6GiTbjo4,1664
|
|
902
902
|
windmill_api/models/count_search_logs_index_response_200.py,sha256=xZiHIVCwj4EcSXv657YMqN9yJy8gpwrTLNRe602vgcU,3190
|
|
903
903
|
windmill_api/models/count_search_logs_index_response_200_count_per_host.py,sha256=HwuTlvhuCIVeOTg3zDRc1tTZyjKfgsvenuHW8Svl9pg,1444
|
|
904
|
-
windmill_api/models/create_account_json_body.py,sha256=
|
|
904
|
+
windmill_api/models/create_account_json_body.py,sha256=YkrRIt0-vFcfBRLYdb6ol9VSNwJ1AmEnBSi2fKZNcnM,3723
|
|
905
905
|
windmill_api/models/create_agent_token_json_body.py,sha256=iaVHXGg6w8M166sVxHE8w-qWtFJaTh_u_mVljJ6sZg4,1881
|
|
906
906
|
windmill_api/models/create_app_json_body.py,sha256=5Vs_CDiGOeRvKWwjKGbH8s_uhHumNQuW7F_tf4Ca270,3230
|
|
907
907
|
windmill_api/models/create_app_json_body_policy.py,sha256=qzfGEbDbCcIj-_6odJi13hGONAE9lWXO9krokOhCmSw,7258
|
|
@@ -5481,7 +5481,7 @@ windmill_api/models/workspace_invite.py,sha256=wp-J-VJLkXsfQzw1PdNPGQhETsFCFXh1e
|
|
|
5481
5481
|
windmill_api/models/workspace_mute_critical_alerts_ui_json_body.py,sha256=y8ZwkWEZgavVc-FgLuZZ4z8YPCLxjPcMfdGdKjGM6VQ,1883
|
|
5482
5482
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
5483
5483
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
5484
|
-
windmill_api-1.
|
|
5485
|
-
windmill_api-1.
|
|
5486
|
-
windmill_api-1.
|
|
5487
|
-
windmill_api-1.
|
|
5484
|
+
windmill_api-1.546.1.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
5485
|
+
windmill_api-1.546.1.dist-info/METADATA,sha256=TDNiPOMWZmSrYPtiSilSZAxIyH29QvU1nif1IKd-rgY,5023
|
|
5486
|
+
windmill_api-1.546.1.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
5487
|
+
windmill_api-1.546.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|