windmill-api 1.413.2__py3-none-any.whl → 1.414.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/user/list_users_as_super_admin.py +15 -0
- windmill_api/models/global_user_info.py +8 -0
- windmill_api/models/global_whoami_response_200.py +8 -0
- windmill_api/models/list_users_as_super_admin_response_200_item.py +8 -0
- {windmill_api-1.413.2.dist-info → windmill_api-1.414.0.dist-info}/METADATA +1 -1
- {windmill_api-1.413.2.dist-info → windmill_api-1.414.0.dist-info}/RECORD +8 -8
- {windmill_api-1.413.2.dist-info → windmill_api-1.414.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.413.2.dist-info → windmill_api-1.414.0.dist-info}/WHEEL +0 -0
|
@@ -13,6 +13,7 @@ def _get_kwargs(
|
|
|
13
13
|
*,
|
|
14
14
|
page: Union[Unset, None, int] = UNSET,
|
|
15
15
|
per_page: Union[Unset, None, int] = UNSET,
|
|
16
|
+
active_only: Union[Unset, None, bool] = UNSET,
|
|
16
17
|
) -> Dict[str, Any]:
|
|
17
18
|
pass
|
|
18
19
|
|
|
@@ -21,6 +22,8 @@ def _get_kwargs(
|
|
|
21
22
|
|
|
22
23
|
params["per_page"] = per_page
|
|
23
24
|
|
|
25
|
+
params["active_only"] = active_only
|
|
26
|
+
|
|
24
27
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
25
28
|
|
|
26
29
|
return {
|
|
@@ -64,12 +67,14 @@ def sync_detailed(
|
|
|
64
67
|
client: Union[AuthenticatedClient, Client],
|
|
65
68
|
page: Union[Unset, None, int] = UNSET,
|
|
66
69
|
per_page: Union[Unset, None, int] = UNSET,
|
|
70
|
+
active_only: Union[Unset, None, bool] = UNSET,
|
|
67
71
|
) -> Response[List["ListUsersAsSuperAdminResponse200Item"]]:
|
|
68
72
|
"""list all users as super admin (require to be super amdin)
|
|
69
73
|
|
|
70
74
|
Args:
|
|
71
75
|
page (Union[Unset, None, int]):
|
|
72
76
|
per_page (Union[Unset, None, int]):
|
|
77
|
+
active_only (Union[Unset, None, bool]):
|
|
73
78
|
|
|
74
79
|
Raises:
|
|
75
80
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -82,6 +87,7 @@ def sync_detailed(
|
|
|
82
87
|
kwargs = _get_kwargs(
|
|
83
88
|
page=page,
|
|
84
89
|
per_page=per_page,
|
|
90
|
+
active_only=active_only,
|
|
85
91
|
)
|
|
86
92
|
|
|
87
93
|
response = client.get_httpx_client().request(
|
|
@@ -96,12 +102,14 @@ def sync(
|
|
|
96
102
|
client: Union[AuthenticatedClient, Client],
|
|
97
103
|
page: Union[Unset, None, int] = UNSET,
|
|
98
104
|
per_page: Union[Unset, None, int] = UNSET,
|
|
105
|
+
active_only: Union[Unset, None, bool] = UNSET,
|
|
99
106
|
) -> Optional[List["ListUsersAsSuperAdminResponse200Item"]]:
|
|
100
107
|
"""list all users as super admin (require to be super amdin)
|
|
101
108
|
|
|
102
109
|
Args:
|
|
103
110
|
page (Union[Unset, None, int]):
|
|
104
111
|
per_page (Union[Unset, None, int]):
|
|
112
|
+
active_only (Union[Unset, None, bool]):
|
|
105
113
|
|
|
106
114
|
Raises:
|
|
107
115
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -115,6 +123,7 @@ def sync(
|
|
|
115
123
|
client=client,
|
|
116
124
|
page=page,
|
|
117
125
|
per_page=per_page,
|
|
126
|
+
active_only=active_only,
|
|
118
127
|
).parsed
|
|
119
128
|
|
|
120
129
|
|
|
@@ -123,12 +132,14 @@ async def asyncio_detailed(
|
|
|
123
132
|
client: Union[AuthenticatedClient, Client],
|
|
124
133
|
page: Union[Unset, None, int] = UNSET,
|
|
125
134
|
per_page: Union[Unset, None, int] = UNSET,
|
|
135
|
+
active_only: Union[Unset, None, bool] = UNSET,
|
|
126
136
|
) -> Response[List["ListUsersAsSuperAdminResponse200Item"]]:
|
|
127
137
|
"""list all users as super admin (require to be super amdin)
|
|
128
138
|
|
|
129
139
|
Args:
|
|
130
140
|
page (Union[Unset, None, int]):
|
|
131
141
|
per_page (Union[Unset, None, int]):
|
|
142
|
+
active_only (Union[Unset, None, bool]):
|
|
132
143
|
|
|
133
144
|
Raises:
|
|
134
145
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -141,6 +152,7 @@ async def asyncio_detailed(
|
|
|
141
152
|
kwargs = _get_kwargs(
|
|
142
153
|
page=page,
|
|
143
154
|
per_page=per_page,
|
|
155
|
+
active_only=active_only,
|
|
144
156
|
)
|
|
145
157
|
|
|
146
158
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -153,12 +165,14 @@ async def asyncio(
|
|
|
153
165
|
client: Union[AuthenticatedClient, Client],
|
|
154
166
|
page: Union[Unset, None, int] = UNSET,
|
|
155
167
|
per_page: Union[Unset, None, int] = UNSET,
|
|
168
|
+
active_only: Union[Unset, None, bool] = UNSET,
|
|
156
169
|
) -> Optional[List["ListUsersAsSuperAdminResponse200Item"]]:
|
|
157
170
|
"""list all users as super admin (require to be super amdin)
|
|
158
171
|
|
|
159
172
|
Args:
|
|
160
173
|
page (Union[Unset, None, int]):
|
|
161
174
|
per_page (Union[Unset, None, int]):
|
|
175
|
+
active_only (Union[Unset, None, bool]):
|
|
162
176
|
|
|
163
177
|
Raises:
|
|
164
178
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -173,5 +187,6 @@ async def asyncio(
|
|
|
173
187
|
client=client,
|
|
174
188
|
page=page,
|
|
175
189
|
per_page=per_page,
|
|
190
|
+
active_only=active_only,
|
|
176
191
|
)
|
|
177
192
|
).parsed
|
|
@@ -20,6 +20,7 @@ class GlobalUserInfo:
|
|
|
20
20
|
name (Union[Unset, str]):
|
|
21
21
|
company (Union[Unset, str]):
|
|
22
22
|
username (Union[Unset, str]):
|
|
23
|
+
operator_only (Union[Unset, bool]):
|
|
23
24
|
"""
|
|
24
25
|
|
|
25
26
|
email: str
|
|
@@ -29,6 +30,7 @@ class GlobalUserInfo:
|
|
|
29
30
|
name: Union[Unset, str] = UNSET
|
|
30
31
|
company: Union[Unset, str] = UNSET
|
|
31
32
|
username: Union[Unset, str] = UNSET
|
|
33
|
+
operator_only: Union[Unset, bool] = UNSET
|
|
32
34
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
33
35
|
|
|
34
36
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -40,6 +42,7 @@ class GlobalUserInfo:
|
|
|
40
42
|
name = self.name
|
|
41
43
|
company = self.company
|
|
42
44
|
username = self.username
|
|
45
|
+
operator_only = self.operator_only
|
|
43
46
|
|
|
44
47
|
field_dict: Dict[str, Any] = {}
|
|
45
48
|
field_dict.update(self.additional_properties)
|
|
@@ -57,6 +60,8 @@ class GlobalUserInfo:
|
|
|
57
60
|
field_dict["company"] = company
|
|
58
61
|
if username is not UNSET:
|
|
59
62
|
field_dict["username"] = username
|
|
63
|
+
if operator_only is not UNSET:
|
|
64
|
+
field_dict["operator_only"] = operator_only
|
|
60
65
|
|
|
61
66
|
return field_dict
|
|
62
67
|
|
|
@@ -77,6 +82,8 @@ class GlobalUserInfo:
|
|
|
77
82
|
|
|
78
83
|
username = d.pop("username", UNSET)
|
|
79
84
|
|
|
85
|
+
operator_only = d.pop("operator_only", UNSET)
|
|
86
|
+
|
|
80
87
|
global_user_info = cls(
|
|
81
88
|
email=email,
|
|
82
89
|
login_type=login_type,
|
|
@@ -85,6 +92,7 @@ class GlobalUserInfo:
|
|
|
85
92
|
name=name,
|
|
86
93
|
company=company,
|
|
87
94
|
username=username,
|
|
95
|
+
operator_only=operator_only,
|
|
88
96
|
)
|
|
89
97
|
|
|
90
98
|
global_user_info.additional_properties = d
|
|
@@ -20,6 +20,7 @@ class GlobalWhoamiResponse200:
|
|
|
20
20
|
name (Union[Unset, str]):
|
|
21
21
|
company (Union[Unset, str]):
|
|
22
22
|
username (Union[Unset, str]):
|
|
23
|
+
operator_only (Union[Unset, bool]):
|
|
23
24
|
"""
|
|
24
25
|
|
|
25
26
|
email: str
|
|
@@ -29,6 +30,7 @@ class GlobalWhoamiResponse200:
|
|
|
29
30
|
name: Union[Unset, str] = UNSET
|
|
30
31
|
company: Union[Unset, str] = UNSET
|
|
31
32
|
username: Union[Unset, str] = UNSET
|
|
33
|
+
operator_only: Union[Unset, bool] = UNSET
|
|
32
34
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
33
35
|
|
|
34
36
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -40,6 +42,7 @@ class GlobalWhoamiResponse200:
|
|
|
40
42
|
name = self.name
|
|
41
43
|
company = self.company
|
|
42
44
|
username = self.username
|
|
45
|
+
operator_only = self.operator_only
|
|
43
46
|
|
|
44
47
|
field_dict: Dict[str, Any] = {}
|
|
45
48
|
field_dict.update(self.additional_properties)
|
|
@@ -57,6 +60,8 @@ class GlobalWhoamiResponse200:
|
|
|
57
60
|
field_dict["company"] = company
|
|
58
61
|
if username is not UNSET:
|
|
59
62
|
field_dict["username"] = username
|
|
63
|
+
if operator_only is not UNSET:
|
|
64
|
+
field_dict["operator_only"] = operator_only
|
|
60
65
|
|
|
61
66
|
return field_dict
|
|
62
67
|
|
|
@@ -77,6 +82,8 @@ class GlobalWhoamiResponse200:
|
|
|
77
82
|
|
|
78
83
|
username = d.pop("username", UNSET)
|
|
79
84
|
|
|
85
|
+
operator_only = d.pop("operator_only", UNSET)
|
|
86
|
+
|
|
80
87
|
global_whoami_response_200 = cls(
|
|
81
88
|
email=email,
|
|
82
89
|
login_type=login_type,
|
|
@@ -85,6 +92,7 @@ class GlobalWhoamiResponse200:
|
|
|
85
92
|
name=name,
|
|
86
93
|
company=company,
|
|
87
94
|
username=username,
|
|
95
|
+
operator_only=operator_only,
|
|
88
96
|
)
|
|
89
97
|
|
|
90
98
|
global_whoami_response_200.additional_properties = d
|
|
@@ -22,6 +22,7 @@ class ListUsersAsSuperAdminResponse200Item:
|
|
|
22
22
|
name (Union[Unset, str]):
|
|
23
23
|
company (Union[Unset, str]):
|
|
24
24
|
username (Union[Unset, str]):
|
|
25
|
+
operator_only (Union[Unset, bool]):
|
|
25
26
|
"""
|
|
26
27
|
|
|
27
28
|
email: str
|
|
@@ -31,6 +32,7 @@ class ListUsersAsSuperAdminResponse200Item:
|
|
|
31
32
|
name: Union[Unset, str] = UNSET
|
|
32
33
|
company: Union[Unset, str] = UNSET
|
|
33
34
|
username: Union[Unset, str] = UNSET
|
|
35
|
+
operator_only: Union[Unset, bool] = UNSET
|
|
34
36
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
35
37
|
|
|
36
38
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -42,6 +44,7 @@ class ListUsersAsSuperAdminResponse200Item:
|
|
|
42
44
|
name = self.name
|
|
43
45
|
company = self.company
|
|
44
46
|
username = self.username
|
|
47
|
+
operator_only = self.operator_only
|
|
45
48
|
|
|
46
49
|
field_dict: Dict[str, Any] = {}
|
|
47
50
|
field_dict.update(self.additional_properties)
|
|
@@ -59,6 +62,8 @@ class ListUsersAsSuperAdminResponse200Item:
|
|
|
59
62
|
field_dict["company"] = company
|
|
60
63
|
if username is not UNSET:
|
|
61
64
|
field_dict["username"] = username
|
|
65
|
+
if operator_only is not UNSET:
|
|
66
|
+
field_dict["operator_only"] = operator_only
|
|
62
67
|
|
|
63
68
|
return field_dict
|
|
64
69
|
|
|
@@ -79,6 +84,8 @@ class ListUsersAsSuperAdminResponse200Item:
|
|
|
79
84
|
|
|
80
85
|
username = d.pop("username", UNSET)
|
|
81
86
|
|
|
87
|
+
operator_only = d.pop("operator_only", UNSET)
|
|
88
|
+
|
|
82
89
|
list_users_as_super_admin_response_200_item = cls(
|
|
83
90
|
email=email,
|
|
84
91
|
login_type=login_type,
|
|
@@ -87,6 +94,7 @@ class ListUsersAsSuperAdminResponse200Item:
|
|
|
87
94
|
name=name,
|
|
88
95
|
company=company,
|
|
89
96
|
username=username,
|
|
97
|
+
operator_only=operator_only,
|
|
90
98
|
)
|
|
91
99
|
|
|
92
100
|
list_users_as_super_admin_response_200_item.additional_properties = d
|
|
@@ -312,7 +312,7 @@ windmill_api/api/user/leave_instance.py,sha256=95ngeoKgpf_mkpKxNFwT6vKW_x4P0jbmZ
|
|
|
312
312
|
windmill_api/api/user/list_tokens.py,sha256=3FYL8njxCeehjVWSxzI8P8GpxTM_gVe_Yiu3mAUJpHU,5637
|
|
313
313
|
windmill_api/api/user/list_usernames.py,sha256=-8lKCcl3PViFRG_nL5M9Br4g3Jh0dER7gB4hQrLibxY,3569
|
|
314
314
|
windmill_api/api/user/list_users.py,sha256=a_q2M9N7Qa5p-Wu5wZ1vpmrxyaeosgBpnbfEhZfrQkA,4061
|
|
315
|
-
windmill_api/api/user/list_users_as_super_admin.py,sha256=
|
|
315
|
+
windmill_api/api/user/list_users_as_super_admin.py,sha256=RHDPucShwgMYYoh6yLFnBFq963ksqGLvcOUBwuiKGR4,5865
|
|
316
316
|
windmill_api/api/user/list_users_usage.py,sha256=wjN3vYc-PJ8WLFhzg79yL9y3u2uuOG9UuLmREy88lRU,4157
|
|
317
317
|
windmill_api/api/user/list_workspace_invites.py,sha256=lXFv63CxJQ2927RufwGCPkGHRBx4XAo6w7LPrSK0jl0,3837
|
|
318
318
|
windmill_api/api/user/login.py,sha256=vxrh69CgmIMyLqdREbMZrrNH3TCRb5EHhj3c78oPqYk,2409
|
|
@@ -2070,7 +2070,7 @@ windmill_api/models/git_repository_settings.py,sha256=tO-Ggwbyvy4tiGGeIcgku8QNXX
|
|
|
2070
2070
|
windmill_api/models/git_repository_settings_exclude_types_override_item.py,sha256=DQ-AVOKWRRJi91UeocbmbxGgcUrpdkpHb8jzMk1dHNI,400
|
|
2071
2071
|
windmill_api/models/global_setting.py,sha256=NZxAwAz5Rh8LMvpHqRAaVZhF0-cXR9897d1lyNrXeTU,1821
|
|
2072
2072
|
windmill_api/models/global_setting_value.py,sha256=iNYDija5EzLJMOATmSzfaW54v5ijJS8ZWPkVDiMncb4,1248
|
|
2073
|
-
windmill_api/models/global_user_info.py,sha256=
|
|
2073
|
+
windmill_api/models/global_user_info.py,sha256=BtBYUtZmaRiq2WqP6Sy-8jXHSvMk68UGKQwf16o9iBA,3301
|
|
2074
2074
|
windmill_api/models/global_user_info_login_type.py,sha256=tH-V57pP-V4cI1KyZghLrLLKGvwoWslebdS5q-FUP5k,176
|
|
2075
2075
|
windmill_api/models/global_user_rename_json_body.py,sha256=KcZdvFfNXshHS4QX0DkrJdtxLDlIpy0Ecvik2IQPlNk,1571
|
|
2076
2076
|
windmill_api/models/global_user_update_json_body.py,sha256=RTSOP73hSrERYt7n5OZ57_lbG9SYmNjue1xv2jksaxE,1913
|
|
@@ -2078,7 +2078,7 @@ windmill_api/models/global_username_info_response_200.py,sha256=jIP6ayJCkWfSYzVw
|
|
|
2078
2078
|
windmill_api/models/global_username_info_response_200_workspace_usernames_item.py,sha256=qkLgj-qbaQvgEzDcHleAQPCsfxWb4H35I759C6V7WfY,1897
|
|
2079
2079
|
windmill_api/models/global_users_export_response_200_item.py,sha256=yWcU445ZK5e0WE1AmA5O-fSCCN4selkj_vvHFX5osy0,3305
|
|
2080
2080
|
windmill_api/models/global_users_overwrite_json_body_item.py,sha256=vfxQAXvj-PD1wOzXfUcUlVOqgWfz6-IvfnFabfPAcIY,3305
|
|
2081
|
-
windmill_api/models/global_whoami_response_200.py,sha256
|
|
2081
|
+
windmill_api/models/global_whoami_response_200.py,sha256=-nzU1oNV2_IwCsVG9qXGlnwIiVLTio-z7U6OMaqXRGg,3395
|
|
2082
2082
|
windmill_api/models/global_whoami_response_200_login_type.py,sha256=grlKtkJE27qxpXSUFBUoLo1-wQf45s82n_hoU7V7PaE,185
|
|
2083
2083
|
windmill_api/models/group.py,sha256=yEfHcI9FEtk1tV6RS9B3r_vAPK0rqNCCLgIJoLAUZ8M,2890
|
|
2084
2084
|
windmill_api/models/group_extra_perms.py,sha256=hn0wzgNVtx0HO3XwPsVOie8BJpV6-FypTN5u_851dvg,1236
|
|
@@ -2830,7 +2830,7 @@ windmill_api/models/list_tokens_of_script_response_200_item.py,sha256=GDIIhjLdBZ
|
|
|
2830
2830
|
windmill_api/models/list_tokens_response_200_item.py,sha256=5ve1lELULC7h0H7J8sLtR82BzSQpBqagwYhtmTCFgw8,3663
|
|
2831
2831
|
windmill_api/models/list_user_workspaces_response_200.py,sha256=BAnO9piWEGR53SaMdvy3EipJauC7VwRg3wxOrO2fJ6M,2504
|
|
2832
2832
|
windmill_api/models/list_user_workspaces_response_200_workspaces_item.py,sha256=h6S-3uZrb534lOUeubG-Zn-jUTeUwbWdwyo2p4dqCkg,1896
|
|
2833
|
-
windmill_api/models/list_users_as_super_admin_response_200_item.py,sha256=
|
|
2833
|
+
windmill_api/models/list_users_as_super_admin_response_200_item.py,sha256=8-S2yn61-XXkTkWNIU0wJVST5cTTES_55jB4Te1jmQ4,3550
|
|
2834
2834
|
windmill_api/models/list_users_as_super_admin_response_200_item_login_type.py,sha256=GqFojYh0I3SpWAhKpt5iup-ck8kMDmSapmBLjZ0XX8U,198
|
|
2835
2835
|
windmill_api/models/list_users_response_200_item.py,sha256=J7_wItdtNe1D2WiA4XrcnSC4RC1vNy2i8Oy1vlWPt1U,3679
|
|
2836
2836
|
windmill_api/models/list_users_usage_response_200_item.py,sha256=0ZKMktaSC_LTPolx1JXEEwINvWmf03Tl4OKSakKf6JU,1910
|
|
@@ -3403,7 +3403,7 @@ windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_
|
|
|
3403
3403
|
windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1lixwUUXG6CXs,2037
|
|
3404
3404
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
3405
3405
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
3406
|
-
windmill_api-1.
|
|
3407
|
-
windmill_api-1.
|
|
3408
|
-
windmill_api-1.
|
|
3409
|
-
windmill_api-1.
|
|
3406
|
+
windmill_api-1.414.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
3407
|
+
windmill_api-1.414.0.dist-info/METADATA,sha256=jw86Z9rC6o8PuUMpKXtpf-xH_qtXCq6D0tqR0zsVPD4,5023
|
|
3408
|
+
windmill_api-1.414.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
3409
|
+
windmill_api-1.414.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|