minikai 0.1.1__py3-none-any.whl → 0.1.3__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 minikai might be problematic. Click here for more details.
- minikai/__init__.py +1 -1
- minikai/api/__init__.py +1 -1
- minikai/api/groups/__init__.py +1 -1
- minikai/api/groups/add_minis_to_group.py +53 -33
- minikai/api/groups/add_users_to_group.py +53 -33
- minikai/api/groups/create_group.py +45 -27
- minikai/api/groups/delete_group.py +29 -9
- minikai/api/groups/get_group.py +47 -28
- minikai/api/groups/get_group_minis.py +52 -33
- minikai/api/groups/get_group_users.py +52 -33
- minikai/api/groups/get_groups.py +56 -34
- minikai/api/groups/remove_minis_from_group.py +53 -33
- minikai/api/groups/remove_users_from_group.py +53 -33
- minikai/api/groups/update_group.py +51 -33
- minikai/api/minis/__init__.py +1 -1
- minikai/api/minis/create_mini.py +45 -27
- minikai/api/minis/delete_mini.py +29 -9
- minikai/api/minis/get_external_mini.py +52 -33
- minikai/api/minis/get_minis.py +56 -34
- minikai/api/minis/patch_mini.py +51 -33
- minikai/api/minis/update_mini.py +51 -33
- minikai/api/records/__init__.py +1 -1
- minikai/api/records/add_attachments.py +59 -38
- minikai/api/records/add_relations.py +65 -43
- minikai/api/records/create_record.py +48 -28
- minikai/api/records/delete_record.py +29 -9
- minikai/api/records/download_attachment.py +119 -0
- minikai/api/records/get_records_by_external.py +68 -45
- minikai/api/records/remove_attachments.py +33 -11
- minikai/api/records/remove_relations.py +33 -11
- minikai/api/records/update_attachments.py +59 -38
- minikai/api/records/update_record.py +53 -33
- minikai/api/records/update_relations.py +65 -43
- minikai/api/users/__init__.py +1 -1
- minikai/api/users/delete_api_users_minis.py +31 -11
- minikai/api/users/get_api_users_minis.py +52 -33
- minikai/api/users/get_users.py +56 -34
- minikai/api/users/post_api_users_minis.py +52 -33
- minikai/client.py +6 -3
- minikai/errors.py +1 -3
- minikai/models/__init__.py +7 -3
- minikai/models/add_attachments_body.py +45 -13
- minikai/models/create_group_command.py +35 -10
- minikai/models/create_mini_command.py +34 -10
- minikai/models/create_record_command.py +87 -41
- minikai/models/create_record_command_tags.py +22 -3
- minikai/models/cursor_paginated_list_of_record_dto.py +122 -0
- minikai/models/document_file_dto.py +37 -13
- minikai/models/document_file_metadata_dto.py +27 -7
- minikai/models/form_field.py +38 -12
- minikai/models/form_field_dto.py +48 -16
- minikai/models/form_field_type.py +2 -8
- minikai/models/group_dto.py +50 -19
- minikai/models/http_validation_problem_details.py +41 -16
- minikai/models/http_validation_problem_details_errors.py +26 -3
- minikai/models/json_node.py +49 -24
- minikai/models/json_node_options.py +26 -7
- minikai/models/mini_dto.py +62 -27
- minikai/models/mini_template_dto.py +50 -18
- minikai/models/paginated_list_of_record_dto.py +39 -16
- minikai/models/patch_mini_command.py +30 -8
- minikai/models/problem_details.py +34 -11
- minikai/models/record.py +143 -61
- minikai/models/record_attachment.py +56 -27
- minikai/models/record_attachment_dto.py +56 -27
- minikai/models/record_attachment_dto_metadata_type_0.py +22 -3
- minikai/models/record_attachment_metadata_type_0.py +22 -3
- minikai/models/record_authorization.py +41 -9
- minikai/models/record_authorization_dto.py +41 -9
- minikai/models/record_dto.py +113 -54
- minikai/models/record_dto_tags.py +22 -3
- minikai/models/record_relation.py +35 -11
- minikai/models/record_relation_dto.py +35 -11
- minikai/models/record_tag.py +159 -0
- minikai/models/record_tag_dto.py +68 -0
- minikai/models/slim_mini_dto.py +51 -22
- minikai/models/tool_dto.py +29 -10
- minikai/models/update_attachments_body.py +45 -13
- minikai/models/update_group_command.py +37 -11
- minikai/models/update_mini_command.py +35 -11
- minikai/models/update_mini_template_workspaces_command.py +30 -7
- minikai/models/update_record_command.py +87 -42
- minikai/models/update_record_command_tags.py +22 -3
- minikai/models/user_dto.py +50 -17
- minikai/models/user_to_mini_dto.py +30 -9
- minikai/models/workspace_dto.py +30 -9
- minikai/types.py +5 -6
- {minikai-0.1.1.dist-info → minikai-0.1.3.dist-info}/METADATA +1 -1
- minikai-0.1.3.dist-info/RECORD +91 -0
- minikai/models/record_tags.py +0 -44
- minikai-0.1.1.dist-info/RECORD +0 -88
- {minikai-0.1.1.dist-info → minikai-0.1.3.dist-info}/WHEEL +0 -0
minikai/api/groups/get_group.py
CHANGED
|
@@ -3,29 +3,41 @@ from typing import Any, Optional, Union, cast
|
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
6
|
-
from ... import errors
|
|
7
6
|
from ...client import AuthenticatedClient, Client
|
|
7
|
+
from ...types import Response, UNSET
|
|
8
|
+
from ... import errors
|
|
9
|
+
|
|
8
10
|
from ...models.group_dto import GroupDto
|
|
9
|
-
from
|
|
11
|
+
from typing import cast
|
|
12
|
+
|
|
10
13
|
|
|
11
14
|
|
|
12
15
|
def _get_kwargs(
|
|
13
16
|
group_id: str,
|
|
17
|
+
|
|
14
18
|
) -> dict[str, Any]:
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
15
25
|
_kwargs: dict[str, Any] = {
|
|
16
26
|
"method": "get",
|
|
17
|
-
"url":
|
|
27
|
+
"url": "/api/Groups/{group_id}".format(group_id=group_id,),
|
|
18
28
|
}
|
|
19
29
|
|
|
30
|
+
|
|
20
31
|
return _kwargs
|
|
21
32
|
|
|
22
33
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
) -> Optional[Union[Any, GroupDto]]:
|
|
34
|
+
|
|
35
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, GroupDto]]:
|
|
26
36
|
if response.status_code == 200:
|
|
27
37
|
response_200 = GroupDto.from_dict(response.json())
|
|
28
38
|
|
|
39
|
+
|
|
40
|
+
|
|
29
41
|
return response_200
|
|
30
42
|
|
|
31
43
|
if response.status_code == 404:
|
|
@@ -38,9 +50,7 @@ def _parse_response(
|
|
|
38
50
|
return None
|
|
39
51
|
|
|
40
52
|
|
|
41
|
-
def _build_response(
|
|
42
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
43
|
-
) -> Response[Union[Any, GroupDto]]:
|
|
53
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, GroupDto]]:
|
|
44
54
|
return Response(
|
|
45
55
|
status_code=HTTPStatus(response.status_code),
|
|
46
56
|
content=response.content,
|
|
@@ -53,8 +63,9 @@ def sync_detailed(
|
|
|
53
63
|
group_id: str,
|
|
54
64
|
*,
|
|
55
65
|
client: Union[AuthenticatedClient, Client],
|
|
66
|
+
|
|
56
67
|
) -> Response[Union[Any, GroupDto]]:
|
|
57
|
-
"""
|
|
68
|
+
"""
|
|
58
69
|
Args:
|
|
59
70
|
group_id (str):
|
|
60
71
|
|
|
@@ -64,10 +75,12 @@ def sync_detailed(
|
|
|
64
75
|
|
|
65
76
|
Returns:
|
|
66
77
|
Response[Union[Any, GroupDto]]
|
|
67
|
-
|
|
78
|
+
"""
|
|
79
|
+
|
|
68
80
|
|
|
69
81
|
kwargs = _get_kwargs(
|
|
70
82
|
group_id=group_id,
|
|
83
|
+
|
|
71
84
|
)
|
|
72
85
|
|
|
73
86
|
response = client.get_httpx_client().request(
|
|
@@ -76,13 +89,13 @@ def sync_detailed(
|
|
|
76
89
|
|
|
77
90
|
return _build_response(client=client, response=response)
|
|
78
91
|
|
|
79
|
-
|
|
80
92
|
def sync(
|
|
81
93
|
group_id: str,
|
|
82
94
|
*,
|
|
83
95
|
client: Union[AuthenticatedClient, Client],
|
|
96
|
+
|
|
84
97
|
) -> Optional[Union[Any, GroupDto]]:
|
|
85
|
-
"""
|
|
98
|
+
"""
|
|
86
99
|
Args:
|
|
87
100
|
group_id (str):
|
|
88
101
|
|
|
@@ -92,20 +105,22 @@ def sync(
|
|
|
92
105
|
|
|
93
106
|
Returns:
|
|
94
107
|
Union[Any, GroupDto]
|
|
95
|
-
|
|
108
|
+
"""
|
|
109
|
+
|
|
96
110
|
|
|
97
111
|
return sync_detailed(
|
|
98
112
|
group_id=group_id,
|
|
99
|
-
|
|
100
|
-
).parsed
|
|
113
|
+
client=client,
|
|
101
114
|
|
|
115
|
+
).parsed
|
|
102
116
|
|
|
103
117
|
async def asyncio_detailed(
|
|
104
118
|
group_id: str,
|
|
105
119
|
*,
|
|
106
120
|
client: Union[AuthenticatedClient, Client],
|
|
121
|
+
|
|
107
122
|
) -> Response[Union[Any, GroupDto]]:
|
|
108
|
-
"""
|
|
123
|
+
"""
|
|
109
124
|
Args:
|
|
110
125
|
group_id (str):
|
|
111
126
|
|
|
@@ -115,23 +130,27 @@ async def asyncio_detailed(
|
|
|
115
130
|
|
|
116
131
|
Returns:
|
|
117
132
|
Response[Union[Any, GroupDto]]
|
|
118
|
-
|
|
133
|
+
"""
|
|
134
|
+
|
|
119
135
|
|
|
120
136
|
kwargs = _get_kwargs(
|
|
121
137
|
group_id=group_id,
|
|
138
|
+
|
|
122
139
|
)
|
|
123
140
|
|
|
124
|
-
response = await client.get_async_httpx_client().request(
|
|
141
|
+
response = await client.get_async_httpx_client().request(
|
|
142
|
+
**kwargs
|
|
143
|
+
)
|
|
125
144
|
|
|
126
145
|
return _build_response(client=client, response=response)
|
|
127
146
|
|
|
128
|
-
|
|
129
147
|
async def asyncio(
|
|
130
148
|
group_id: str,
|
|
131
149
|
*,
|
|
132
150
|
client: Union[AuthenticatedClient, Client],
|
|
151
|
+
|
|
133
152
|
) -> Optional[Union[Any, GroupDto]]:
|
|
134
|
-
"""
|
|
153
|
+
"""
|
|
135
154
|
Args:
|
|
136
155
|
group_id (str):
|
|
137
156
|
|
|
@@ -141,11 +160,11 @@ async def asyncio(
|
|
|
141
160
|
|
|
142
161
|
Returns:
|
|
143
162
|
Union[Any, GroupDto]
|
|
144
|
-
|
|
163
|
+
"""
|
|
145
164
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
).parsed
|
|
165
|
+
|
|
166
|
+
return (await asyncio_detailed(
|
|
167
|
+
group_id=group_id,
|
|
168
|
+
client=client,
|
|
169
|
+
|
|
170
|
+
)).parsed
|
|
@@ -3,32 +3,44 @@ from typing import Any, Optional, Union, cast
|
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
6
|
-
from ... import errors
|
|
7
6
|
from ...client import AuthenticatedClient, Client
|
|
7
|
+
from ...types import Response, UNSET
|
|
8
|
+
from ... import errors
|
|
9
|
+
|
|
8
10
|
from ...models.slim_mini_dto import SlimMiniDto
|
|
9
|
-
from
|
|
11
|
+
from typing import cast
|
|
12
|
+
|
|
10
13
|
|
|
11
14
|
|
|
12
15
|
def _get_kwargs(
|
|
13
16
|
group_id: str,
|
|
17
|
+
|
|
14
18
|
) -> dict[str, Any]:
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
15
25
|
_kwargs: dict[str, Any] = {
|
|
16
26
|
"method": "get",
|
|
17
|
-
"url":
|
|
27
|
+
"url": "/api/Groups/{group_id}/minis".format(group_id=group_id,),
|
|
18
28
|
}
|
|
19
29
|
|
|
30
|
+
|
|
20
31
|
return _kwargs
|
|
21
32
|
|
|
22
33
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
) -> Optional[Union[Any, list["SlimMiniDto"]]]:
|
|
34
|
+
|
|
35
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, list['SlimMiniDto']]]:
|
|
26
36
|
if response.status_code == 200:
|
|
27
37
|
response_200 = []
|
|
28
38
|
_response_200 = response.json()
|
|
29
|
-
for response_200_item_data in _response_200:
|
|
39
|
+
for response_200_item_data in (_response_200):
|
|
30
40
|
response_200_item = SlimMiniDto.from_dict(response_200_item_data)
|
|
31
41
|
|
|
42
|
+
|
|
43
|
+
|
|
32
44
|
response_200.append(response_200_item)
|
|
33
45
|
|
|
34
46
|
return response_200
|
|
@@ -43,9 +55,7 @@ def _parse_response(
|
|
|
43
55
|
return None
|
|
44
56
|
|
|
45
57
|
|
|
46
|
-
def _build_response(
|
|
47
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
48
|
-
) -> Response[Union[Any, list["SlimMiniDto"]]]:
|
|
58
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, list['SlimMiniDto']]]:
|
|
49
59
|
return Response(
|
|
50
60
|
status_code=HTTPStatus(response.status_code),
|
|
51
61
|
content=response.content,
|
|
@@ -58,8 +68,9 @@ def sync_detailed(
|
|
|
58
68
|
group_id: str,
|
|
59
69
|
*,
|
|
60
70
|
client: Union[AuthenticatedClient, Client],
|
|
61
|
-
|
|
62
|
-
|
|
71
|
+
|
|
72
|
+
) -> Response[Union[Any, list['SlimMiniDto']]]:
|
|
73
|
+
"""
|
|
63
74
|
Args:
|
|
64
75
|
group_id (str):
|
|
65
76
|
|
|
@@ -69,10 +80,12 @@ def sync_detailed(
|
|
|
69
80
|
|
|
70
81
|
Returns:
|
|
71
82
|
Response[Union[Any, list['SlimMiniDto']]]
|
|
72
|
-
|
|
83
|
+
"""
|
|
84
|
+
|
|
73
85
|
|
|
74
86
|
kwargs = _get_kwargs(
|
|
75
87
|
group_id=group_id,
|
|
88
|
+
|
|
76
89
|
)
|
|
77
90
|
|
|
78
91
|
response = client.get_httpx_client().request(
|
|
@@ -81,13 +94,13 @@ def sync_detailed(
|
|
|
81
94
|
|
|
82
95
|
return _build_response(client=client, response=response)
|
|
83
96
|
|
|
84
|
-
|
|
85
97
|
def sync(
|
|
86
98
|
group_id: str,
|
|
87
99
|
*,
|
|
88
100
|
client: Union[AuthenticatedClient, Client],
|
|
89
|
-
|
|
90
|
-
|
|
101
|
+
|
|
102
|
+
) -> Optional[Union[Any, list['SlimMiniDto']]]:
|
|
103
|
+
"""
|
|
91
104
|
Args:
|
|
92
105
|
group_id (str):
|
|
93
106
|
|
|
@@ -97,20 +110,22 @@ def sync(
|
|
|
97
110
|
|
|
98
111
|
Returns:
|
|
99
112
|
Union[Any, list['SlimMiniDto']]
|
|
100
|
-
|
|
113
|
+
"""
|
|
114
|
+
|
|
101
115
|
|
|
102
116
|
return sync_detailed(
|
|
103
117
|
group_id=group_id,
|
|
104
|
-
|
|
105
|
-
).parsed
|
|
118
|
+
client=client,
|
|
106
119
|
|
|
120
|
+
).parsed
|
|
107
121
|
|
|
108
122
|
async def asyncio_detailed(
|
|
109
123
|
group_id: str,
|
|
110
124
|
*,
|
|
111
125
|
client: Union[AuthenticatedClient, Client],
|
|
112
|
-
|
|
113
|
-
|
|
126
|
+
|
|
127
|
+
) -> Response[Union[Any, list['SlimMiniDto']]]:
|
|
128
|
+
"""
|
|
114
129
|
Args:
|
|
115
130
|
group_id (str):
|
|
116
131
|
|
|
@@ -120,23 +135,27 @@ async def asyncio_detailed(
|
|
|
120
135
|
|
|
121
136
|
Returns:
|
|
122
137
|
Response[Union[Any, list['SlimMiniDto']]]
|
|
123
|
-
|
|
138
|
+
"""
|
|
139
|
+
|
|
124
140
|
|
|
125
141
|
kwargs = _get_kwargs(
|
|
126
142
|
group_id=group_id,
|
|
143
|
+
|
|
127
144
|
)
|
|
128
145
|
|
|
129
|
-
response = await client.get_async_httpx_client().request(
|
|
146
|
+
response = await client.get_async_httpx_client().request(
|
|
147
|
+
**kwargs
|
|
148
|
+
)
|
|
130
149
|
|
|
131
150
|
return _build_response(client=client, response=response)
|
|
132
151
|
|
|
133
|
-
|
|
134
152
|
async def asyncio(
|
|
135
153
|
group_id: str,
|
|
136
154
|
*,
|
|
137
155
|
client: Union[AuthenticatedClient, Client],
|
|
138
|
-
|
|
139
|
-
|
|
156
|
+
|
|
157
|
+
) -> Optional[Union[Any, list['SlimMiniDto']]]:
|
|
158
|
+
"""
|
|
140
159
|
Args:
|
|
141
160
|
group_id (str):
|
|
142
161
|
|
|
@@ -146,11 +165,11 @@ async def asyncio(
|
|
|
146
165
|
|
|
147
166
|
Returns:
|
|
148
167
|
Union[Any, list['SlimMiniDto']]
|
|
149
|
-
|
|
168
|
+
"""
|
|
150
169
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
).parsed
|
|
170
|
+
|
|
171
|
+
return (await asyncio_detailed(
|
|
172
|
+
group_id=group_id,
|
|
173
|
+
client=client,
|
|
174
|
+
|
|
175
|
+
)).parsed
|
|
@@ -3,32 +3,44 @@ from typing import Any, Optional, Union, cast
|
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
6
|
-
from ... import errors
|
|
7
6
|
from ...client import AuthenticatedClient, Client
|
|
7
|
+
from ...types import Response, UNSET
|
|
8
|
+
from ... import errors
|
|
9
|
+
|
|
8
10
|
from ...models.user_dto import UserDto
|
|
9
|
-
from
|
|
11
|
+
from typing import cast
|
|
12
|
+
|
|
10
13
|
|
|
11
14
|
|
|
12
15
|
def _get_kwargs(
|
|
13
16
|
group_id: str,
|
|
17
|
+
|
|
14
18
|
) -> dict[str, Any]:
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
15
25
|
_kwargs: dict[str, Any] = {
|
|
16
26
|
"method": "get",
|
|
17
|
-
"url":
|
|
27
|
+
"url": "/api/Groups/{group_id}/users".format(group_id=group_id,),
|
|
18
28
|
}
|
|
19
29
|
|
|
30
|
+
|
|
20
31
|
return _kwargs
|
|
21
32
|
|
|
22
33
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
) -> Optional[Union[Any, list["UserDto"]]]:
|
|
34
|
+
|
|
35
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, list['UserDto']]]:
|
|
26
36
|
if response.status_code == 200:
|
|
27
37
|
response_200 = []
|
|
28
38
|
_response_200 = response.json()
|
|
29
|
-
for response_200_item_data in _response_200:
|
|
39
|
+
for response_200_item_data in (_response_200):
|
|
30
40
|
response_200_item = UserDto.from_dict(response_200_item_data)
|
|
31
41
|
|
|
42
|
+
|
|
43
|
+
|
|
32
44
|
response_200.append(response_200_item)
|
|
33
45
|
|
|
34
46
|
return response_200
|
|
@@ -43,9 +55,7 @@ def _parse_response(
|
|
|
43
55
|
return None
|
|
44
56
|
|
|
45
57
|
|
|
46
|
-
def _build_response(
|
|
47
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
48
|
-
) -> Response[Union[Any, list["UserDto"]]]:
|
|
58
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, list['UserDto']]]:
|
|
49
59
|
return Response(
|
|
50
60
|
status_code=HTTPStatus(response.status_code),
|
|
51
61
|
content=response.content,
|
|
@@ -58,8 +68,9 @@ def sync_detailed(
|
|
|
58
68
|
group_id: str,
|
|
59
69
|
*,
|
|
60
70
|
client: Union[AuthenticatedClient, Client],
|
|
61
|
-
|
|
62
|
-
|
|
71
|
+
|
|
72
|
+
) -> Response[Union[Any, list['UserDto']]]:
|
|
73
|
+
"""
|
|
63
74
|
Args:
|
|
64
75
|
group_id (str):
|
|
65
76
|
|
|
@@ -69,10 +80,12 @@ def sync_detailed(
|
|
|
69
80
|
|
|
70
81
|
Returns:
|
|
71
82
|
Response[Union[Any, list['UserDto']]]
|
|
72
|
-
|
|
83
|
+
"""
|
|
84
|
+
|
|
73
85
|
|
|
74
86
|
kwargs = _get_kwargs(
|
|
75
87
|
group_id=group_id,
|
|
88
|
+
|
|
76
89
|
)
|
|
77
90
|
|
|
78
91
|
response = client.get_httpx_client().request(
|
|
@@ -81,13 +94,13 @@ def sync_detailed(
|
|
|
81
94
|
|
|
82
95
|
return _build_response(client=client, response=response)
|
|
83
96
|
|
|
84
|
-
|
|
85
97
|
def sync(
|
|
86
98
|
group_id: str,
|
|
87
99
|
*,
|
|
88
100
|
client: Union[AuthenticatedClient, Client],
|
|
89
|
-
|
|
90
|
-
|
|
101
|
+
|
|
102
|
+
) -> Optional[Union[Any, list['UserDto']]]:
|
|
103
|
+
"""
|
|
91
104
|
Args:
|
|
92
105
|
group_id (str):
|
|
93
106
|
|
|
@@ -97,20 +110,22 @@ def sync(
|
|
|
97
110
|
|
|
98
111
|
Returns:
|
|
99
112
|
Union[Any, list['UserDto']]
|
|
100
|
-
|
|
113
|
+
"""
|
|
114
|
+
|
|
101
115
|
|
|
102
116
|
return sync_detailed(
|
|
103
117
|
group_id=group_id,
|
|
104
|
-
|
|
105
|
-
).parsed
|
|
118
|
+
client=client,
|
|
106
119
|
|
|
120
|
+
).parsed
|
|
107
121
|
|
|
108
122
|
async def asyncio_detailed(
|
|
109
123
|
group_id: str,
|
|
110
124
|
*,
|
|
111
125
|
client: Union[AuthenticatedClient, Client],
|
|
112
|
-
|
|
113
|
-
|
|
126
|
+
|
|
127
|
+
) -> Response[Union[Any, list['UserDto']]]:
|
|
128
|
+
"""
|
|
114
129
|
Args:
|
|
115
130
|
group_id (str):
|
|
116
131
|
|
|
@@ -120,23 +135,27 @@ async def asyncio_detailed(
|
|
|
120
135
|
|
|
121
136
|
Returns:
|
|
122
137
|
Response[Union[Any, list['UserDto']]]
|
|
123
|
-
|
|
138
|
+
"""
|
|
139
|
+
|
|
124
140
|
|
|
125
141
|
kwargs = _get_kwargs(
|
|
126
142
|
group_id=group_id,
|
|
143
|
+
|
|
127
144
|
)
|
|
128
145
|
|
|
129
|
-
response = await client.get_async_httpx_client().request(
|
|
146
|
+
response = await client.get_async_httpx_client().request(
|
|
147
|
+
**kwargs
|
|
148
|
+
)
|
|
130
149
|
|
|
131
150
|
return _build_response(client=client, response=response)
|
|
132
151
|
|
|
133
|
-
|
|
134
152
|
async def asyncio(
|
|
135
153
|
group_id: str,
|
|
136
154
|
*,
|
|
137
155
|
client: Union[AuthenticatedClient, Client],
|
|
138
|
-
|
|
139
|
-
|
|
156
|
+
|
|
157
|
+
) -> Optional[Union[Any, list['UserDto']]]:
|
|
158
|
+
"""
|
|
140
159
|
Args:
|
|
141
160
|
group_id (str):
|
|
142
161
|
|
|
@@ -146,11 +165,11 @@ async def asyncio(
|
|
|
146
165
|
|
|
147
166
|
Returns:
|
|
148
167
|
Union[Any, list['UserDto']]
|
|
149
|
-
|
|
168
|
+
"""
|
|
150
169
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
).parsed
|
|
170
|
+
|
|
171
|
+
return (await asyncio_detailed(
|
|
172
|
+
group_id=group_id,
|
|
173
|
+
client=client,
|
|
174
|
+
|
|
175
|
+
)).parsed
|