3
3
from typing import Any , TypeVar
4
4
from uuid import UUID
5
5
6
- from aiokeycloak .methods .assign_realm_roles_to_user import AssignRealmRolesToUser
6
+ from aiokeycloak .methods .assign_realm_roles_to_user import (
7
+ AssignRealmRolesToUser ,
8
+ )
7
9
from aiokeycloak .methods .base import KeycloakMethod
8
10
from aiokeycloak .methods .create_user import CreateUser
9
11
from aiokeycloak .methods .delete_user import DeleteUser
23
25
from aiokeycloak .types .user import User
24
26
from aiokeycloak .types .users import Users
25
27
26
-
27
28
T = TypeVar ("T" , bound = KeycloakType )
28
29
29
30
@@ -47,14 +48,14 @@ async def get_realms_roles(
47
48
self ,
48
49
realm_name : str ,
49
50
* ,
50
- max : int | None = None ,
51
+ max_ : int | None = None ,
51
52
first : int | None = None ,
52
53
search : str | None = None ,
53
54
brief_representation : bool | None = None ,
54
55
) -> RealmRoles :
55
56
method = GetRealmRoles (
56
57
realm_name = realm_name ,
57
- max = max ,
58
+ max = max_ ,
58
59
first = first ,
59
60
search = search ,
60
61
access_token = self ._access_token ,
@@ -119,7 +120,7 @@ async def get_users(
119
120
first : int | None = None ,
120
121
first_name : str | None = None ,
121
122
last_name : str | None = None ,
122
- max : int | None = None ,
123
+ max_ : int | None = None ,
123
124
username : str | None = None ,
124
125
) -> Users :
125
126
method = GetUsers (
@@ -133,7 +134,7 @@ async def get_users(
133
134
first = first ,
134
135
first_name = first_name ,
135
136
last_name = last_name ,
136
- max = max ,
137
+ max = max_ ,
137
138
username = username ,
138
139
)
139
140
return await self .send_request (method )
0 commit comments