windmill-api 1.510.1__py3-none-any.whl → 1.511.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.

@@ -15,11 +15,13 @@ class ConnectClientCredentialsJsonBody:
15
15
  cc_client_id (str): OAuth client ID for resource-level authentication
16
16
  cc_client_secret (str): OAuth client secret for resource-level authentication
17
17
  scopes (Union[Unset, List[str]]):
18
+ cc_token_url (Union[Unset, str]): OAuth token URL override for resource-level authentication
18
19
  """
19
20
 
20
21
  cc_client_id: str
21
22
  cc_client_secret: str
22
23
  scopes: Union[Unset, List[str]] = UNSET
24
+ cc_token_url: Union[Unset, str] = UNSET
23
25
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
24
26
 
25
27
  def to_dict(self) -> Dict[str, Any]:
@@ -29,6 +31,8 @@ class ConnectClientCredentialsJsonBody:
29
31
  if not isinstance(self.scopes, Unset):
30
32
  scopes = self.scopes
31
33
 
34
+ cc_token_url = self.cc_token_url
35
+
32
36
  field_dict: Dict[str, Any] = {}
33
37
  field_dict.update(self.additional_properties)
34
38
  field_dict.update(
@@ -39,6 +43,8 @@ class ConnectClientCredentialsJsonBody:
39
43
  )
40
44
  if scopes is not UNSET:
41
45
  field_dict["scopes"] = scopes
46
+ if cc_token_url is not UNSET:
47
+ field_dict["cc_token_url"] = cc_token_url
42
48
 
43
49
  return field_dict
44
50
 
@@ -51,10 +57,13 @@ class ConnectClientCredentialsJsonBody:
51
57
 
52
58
  scopes = cast(List[str], d.pop("scopes", UNSET))
53
59
 
60
+ cc_token_url = d.pop("cc_token_url", UNSET)
61
+
54
62
  connect_client_credentials_json_body = cls(
55
63
  cc_client_id=cc_client_id,
56
64
  cc_client_secret=cc_client_secret,
57
65
  scopes=scopes,
66
+ cc_token_url=cc_token_url,
58
67
  )
59
68
 
60
69
  connect_client_credentials_json_body.additional_properties = d
@@ -19,6 +19,8 @@ class CreateAccountJsonBody:
19
19
  cc_client_id (Union[Unset, str]): OAuth client ID for resource-level credentials (client_credentials flow only)
20
20
  cc_client_secret (Union[Unset, str]): OAuth client secret for resource-level credentials (client_credentials
21
21
  flow only)
22
+ cc_token_url (Union[Unset, str]): OAuth token URL override for resource-level authentication (client_credentials
23
+ flow only)
22
24
  """
23
25
 
24
26
  expires_in: int
@@ -27,6 +29,7 @@ class CreateAccountJsonBody:
27
29
  grant_type: Union[Unset, str] = "authorization_code"
28
30
  cc_client_id: Union[Unset, str] = UNSET
29
31
  cc_client_secret: Union[Unset, str] = UNSET
32
+ cc_token_url: Union[Unset, str] = UNSET
30
33
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
31
34
 
32
35
  def to_dict(self) -> Dict[str, Any]:
@@ -36,6 +39,7 @@ class CreateAccountJsonBody:
36
39
  grant_type = self.grant_type
37
40
  cc_client_id = self.cc_client_id
38
41
  cc_client_secret = self.cc_client_secret
42
+ cc_token_url = self.cc_token_url
39
43
 
40
44
  field_dict: Dict[str, Any] = {}
41
45
  field_dict.update(self.additional_properties)
@@ -53,6 +57,8 @@ class CreateAccountJsonBody:
53
57
  field_dict["cc_client_id"] = cc_client_id
54
58
  if cc_client_secret is not UNSET:
55
59
  field_dict["cc_client_secret"] = cc_client_secret
60
+ if cc_token_url is not UNSET:
61
+ field_dict["cc_token_url"] = cc_token_url
56
62
 
57
63
  return field_dict
58
64
 
@@ -71,6 +77,8 @@ class CreateAccountJsonBody:
71
77
 
72
78
  cc_client_secret = d.pop("cc_client_secret", UNSET)
73
79
 
80
+ cc_token_url = d.pop("cc_token_url", UNSET)
81
+
74
82
  create_account_json_body = cls(
75
83
  expires_in=expires_in,
76
84
  client=client,
@@ -78,6 +86,7 @@ class CreateAccountJsonBody:
78
86
  grant_type=grant_type,
79
87
  cc_client_id=cc_client_id,
80
88
  cc_client_secret=cc_client_secret,
89
+ cc_token_url=cc_token_url,
81
90
  )
82
91
 
83
92
  create_account_json_body.additional_properties = d
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: windmill-api
3
- Version: 1.510.1
3
+ Version: 1.511.0
4
4
  Summary: A client library for accessing Windmill API
5
5
  License: Apache-2.0
6
6
  Author: Ruben Fiszel
@@ -786,7 +786,7 @@ windmill_api/models/configs.py,sha256=H0RyiDBAi3mO_QO6yyTCPVGbzjQ4GHtpr3otnS7s20
786
786
  windmill_api/models/configs_alerts_item.py,sha256=QP5fW2ACdDVqIMeOBZHRBi96n-SArjPzVKZ1J1ef4Ds,2724
787
787
  windmill_api/models/connect_callback_json_body.py,sha256=85RFBg7JqD8NbZOOmq-NlCsf26pLopNJ6Vy7IOUXTr8,1635
788
788
  windmill_api/models/connect_callback_response_200.py,sha256=LeZKaHz3csY_3ffdyHTeSu0r9j9RMhQzyxfLT5HCOqA,2886
789
- windmill_api/models/connect_client_credentials_json_body.py,sha256=GLfcFgOsqzHL64vA2W3vaCqfVXPrMtQUBoXJ4Ux_1-Q,2397
789
+ windmill_api/models/connect_client_credentials_json_body.py,sha256=0Z_upYLAvg4GOreyoh_gi-XBYwgxiv6_9Isv8uVAhb4,2768
790
790
  windmill_api/models/connect_client_credentials_response_200.py,sha256=FrAB_NO1Xr3kmquvz9FXolihG8Tf4H04OdnMcjF8yPI,2934
791
791
  windmill_api/models/connect_slack_callback_instance_json_body.py,sha256=c0Rnk7V8qF2Dr471eWnWZe41d5SXnhZEKpbJH1WkpYM,1706
792
792
  windmill_api/models/connect_slack_callback_json_body.py,sha256=AopjAfEL44s4fFJeZFrhYznF-9k_Fo61T7yF4F6KeJw,1663
@@ -795,7 +795,7 @@ windmill_api/models/contextual_variable.py,sha256=CYU0_ENlCZN9aD2hztezo1o0kkVCH-
795
795
  windmill_api/models/count_jobs_by_tag_response_200_item.py,sha256=AMJAY5SIA4BypdkB7EOpA45aYBjd95-Ae2v6GiTbjo4,1664
796
796
  windmill_api/models/count_search_logs_index_response_200.py,sha256=xZiHIVCwj4EcSXv657YMqN9yJy8gpwrTLNRe602vgcU,3190
797
797
  windmill_api/models/count_search_logs_index_response_200_count_per_host.py,sha256=HwuTlvhuCIVeOTg3zDRc1tTZyjKfgsvenuHW8Svl9pg,1444
798
- windmill_api/models/create_account_json_body.py,sha256=deQHdmTUBXojx22rJIuyYje6IqV5qZ0RxjqAxFR0LG0,3232
798
+ windmill_api/models/create_account_json_body.py,sha256=6zDsuSNaAYObmRKTvb71ZKWzk8paKqtLJYETlWKycnU,3645
799
799
  windmill_api/models/create_agent_token_json_body.py,sha256=iaVHXGg6w8M166sVxHE8w-qWtFJaTh_u_mVljJ6sZg4,1881
800
800
  windmill_api/models/create_app_json_body.py,sha256=5Vs_CDiGOeRvKWwjKGbH8s_uhHumNQuW7F_tf4Ca270,3230
801
801
  windmill_api/models/create_app_json_body_policy.py,sha256=qzfGEbDbCcIj-_6odJi13hGONAE9lWXO9krokOhCmSw,7258
@@ -4354,7 +4354,7 @@ windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1li
4354
4354
  windmill_api/models/workspace_mute_critical_alerts_ui_json_body.py,sha256=y8ZwkWEZgavVc-FgLuZZ4z8YPCLxjPcMfdGdKjGM6VQ,1883
4355
4355
  windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
4356
4356
  windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
4357
- windmill_api-1.510.1.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
4358
- windmill_api-1.510.1.dist-info/METADATA,sha256=NjP23i-zOwrPu80fLgvRhxOedvsujPfvzvF9oo0JWcs,5023
4359
- windmill_api-1.510.1.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
4360
- windmill_api-1.510.1.dist-info/RECORD,,
4357
+ windmill_api-1.511.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
4358
+ windmill_api-1.511.0.dist-info/METADATA,sha256=2SJlXpkC7mcg3nKGyWjenrh1njxE_PDas4krzKpmnec,5023
4359
+ windmill_api-1.511.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
4360
+ windmill_api-1.511.0.dist-info/RECORD,,