minikai 0.1.7__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.

Files changed (100) hide show
  1. minikai/__init__.py +8 -0
  2. minikai/api/__init__.py +1 -0
  3. minikai/api/groups/__init__.py +1 -0
  4. minikai/api/groups/add_minis_to_group.py +196 -0
  5. minikai/api/groups/add_users_to_group.py +196 -0
  6. minikai/api/groups/create_group.py +178 -0
  7. minikai/api/groups/delete_group.py +115 -0
  8. minikai/api/groups/get_group.py +170 -0
  9. minikai/api/groups/get_group_minis.py +175 -0
  10. minikai/api/groups/get_group_users.py +175 -0
  11. minikai/api/groups/get_groups.py +150 -0
  12. minikai/api/groups/remove_minis_from_group.py +196 -0
  13. minikai/api/groups/remove_users_from_group.py +196 -0
  14. minikai/api/groups/update_group.py +195 -0
  15. minikai/api/minis/__init__.py +1 -0
  16. minikai/api/minis/create_mini.py +178 -0
  17. minikai/api/minis/delete_mini.py +115 -0
  18. minikai/api/minis/get_external_mini.py +183 -0
  19. minikai/api/minis/get_minis.py +150 -0
  20. minikai/api/minis/patch_mini.py +195 -0
  21. minikai/api/minis/update_mini.py +195 -0
  22. minikai/api/records/__init__.py +1 -0
  23. minikai/api/records/add_attachments.py +203 -0
  24. minikai/api/records/add_relations.py +209 -0
  25. minikai/api/records/create_record.py +182 -0
  26. minikai/api/records/delete_record.py +115 -0
  27. minikai/api/records/download_attachment.py +119 -0
  28. minikai/api/records/get_created_by.py +202 -0
  29. minikai/api/records/get_labels.py +194 -0
  30. minikai/api/records/get_records_by_external.py +248 -0
  31. minikai/api/records/get_states.py +194 -0
  32. minikai/api/records/get_updated_by.py +202 -0
  33. minikai/api/records/remove_attachments.py +132 -0
  34. minikai/api/records/remove_relations.py +132 -0
  35. minikai/api/records/update_attachments.py +203 -0
  36. minikai/api/records/update_record.py +199 -0
  37. minikai/api/records/update_relations.py +209 -0
  38. minikai/api/records/upsert_records_by_external_uri.py +182 -0
  39. minikai/api/users/__init__.py +1 -0
  40. minikai/api/users/delete_api_users_minis.py +122 -0
  41. minikai/api/users/get_api_users_minis.py +175 -0
  42. minikai/api/users/get_users.py +150 -0
  43. minikai/api/users/post_api_users_minis.py +187 -0
  44. minikai/client.py +271 -0
  45. minikai/errors.py +14 -0
  46. minikai/models/__init__.py +103 -0
  47. minikai/models/add_attachments_body.py +140 -0
  48. minikai/models/batch_upsert_result.py +124 -0
  49. minikai/models/create_group_command.py +127 -0
  50. minikai/models/create_mini_command.py +144 -0
  51. minikai/models/create_record_command.py +263 -0
  52. minikai/models/create_record_command_tags.py +63 -0
  53. minikai/models/cursor_paginated_list_of_record_dto.py +122 -0
  54. minikai/models/document_file_dto.py +171 -0
  55. minikai/models/document_file_metadata_dto.py +72 -0
  56. minikai/models/failed_upsert_item.py +83 -0
  57. minikai/models/form_field.py +138 -0
  58. minikai/models/form_field_dto.py +181 -0
  59. minikai/models/form_field_type.py +10 -0
  60. minikai/models/group_dto.py +155 -0
  61. minikai/models/http_validation_problem_details.py +198 -0
  62. minikai/models/http_validation_problem_details_errors.py +74 -0
  63. minikai/models/mini_dto.py +224 -0
  64. minikai/models/mini_template_dto.py +167 -0
  65. minikai/models/paginated_list_of_record_dto.py +124 -0
  66. minikai/models/patch_mini_command.py +102 -0
  67. minikai/models/problem_details.py +174 -0
  68. minikai/models/record.py +441 -0
  69. minikai/models/record_attachment.py +265 -0
  70. minikai/models/record_attachment_dto.py +265 -0
  71. minikai/models/record_attachment_dto_metadata_type_0.py +63 -0
  72. minikai/models/record_attachment_metadata_type_0.py +63 -0
  73. minikai/models/record_authorization.py +107 -0
  74. minikai/models/record_authorization_dto.py +107 -0
  75. minikai/models/record_dto.py +385 -0
  76. minikai/models/record_dto_tags.py +63 -0
  77. minikai/models/record_relation.py +105 -0
  78. minikai/models/record_relation_dto.py +105 -0
  79. minikai/models/record_state.py +10 -0
  80. minikai/models/record_tag.py +159 -0
  81. minikai/models/record_tag_dto.py +68 -0
  82. minikai/models/slim_mini_dto.py +197 -0
  83. minikai/models/tool_dto.py +95 -0
  84. minikai/models/update_attachments_body.py +140 -0
  85. minikai/models/update_group_command.py +148 -0
  86. minikai/models/update_mini_command.py +153 -0
  87. minikai/models/update_mini_template_workspaces_command.py +74 -0
  88. minikai/models/update_record_command.py +274 -0
  89. minikai/models/update_record_command_tags.py +63 -0
  90. minikai/models/upsert_record_dto.py +275 -0
  91. minikai/models/upsert_record_dto_tags.py +63 -0
  92. minikai/models/upsert_records_by_external_uri_command.py +79 -0
  93. minikai/models/user_dto.py +215 -0
  94. minikai/models/user_to_mini_dto.py +99 -0
  95. minikai/models/workspace_dto.py +99 -0
  96. minikai/py.typed +1 -0
  97. minikai/types.py +53 -0
  98. minikai-0.1.7.dist-info/METADATA +133 -0
  99. minikai-0.1.7.dist-info/RECORD +100 -0
  100. minikai-0.1.7.dist-info/WHEEL +4 -0
@@ -0,0 +1,170 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+ from ...models.group_dto import GroupDto
11
+ from typing import cast
12
+
13
+
14
+
15
+ def _get_kwargs(
16
+ group_id: str,
17
+
18
+ ) -> dict[str, Any]:
19
+
20
+
21
+
22
+
23
+
24
+
25
+ _kwargs: dict[str, Any] = {
26
+ "method": "get",
27
+ "url": "/api/Groups/{group_id}".format(group_id=group_id,),
28
+ }
29
+
30
+
31
+ return _kwargs
32
+
33
+
34
+
35
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, GroupDto]]:
36
+ if response.status_code == 200:
37
+ response_200 = GroupDto.from_dict(response.json())
38
+
39
+
40
+
41
+ return response_200
42
+
43
+ if response.status_code == 404:
44
+ response_404 = cast(Any, None)
45
+ return response_404
46
+
47
+ if client.raise_on_unexpected_status:
48
+ raise errors.UnexpectedStatus(response.status_code, response.content)
49
+ else:
50
+ return None
51
+
52
+
53
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, GroupDto]]:
54
+ return Response(
55
+ status_code=HTTPStatus(response.status_code),
56
+ content=response.content,
57
+ headers=response.headers,
58
+ parsed=_parse_response(client=client, response=response),
59
+ )
60
+
61
+
62
+ def sync_detailed(
63
+ group_id: str,
64
+ *,
65
+ client: Union[AuthenticatedClient, Client],
66
+
67
+ ) -> Response[Union[Any, GroupDto]]:
68
+ """
69
+ Args:
70
+ group_id (str):
71
+
72
+ Raises:
73
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
74
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
75
+
76
+ Returns:
77
+ Response[Union[Any, GroupDto]]
78
+ """
79
+
80
+
81
+ kwargs = _get_kwargs(
82
+ group_id=group_id,
83
+
84
+ )
85
+
86
+ response = client.get_httpx_client().request(
87
+ **kwargs,
88
+ )
89
+
90
+ return _build_response(client=client, response=response)
91
+
92
+ def sync(
93
+ group_id: str,
94
+ *,
95
+ client: Union[AuthenticatedClient, Client],
96
+
97
+ ) -> Optional[Union[Any, GroupDto]]:
98
+ """
99
+ Args:
100
+ group_id (str):
101
+
102
+ Raises:
103
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
104
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
105
+
106
+ Returns:
107
+ Union[Any, GroupDto]
108
+ """
109
+
110
+
111
+ return sync_detailed(
112
+ group_id=group_id,
113
+ client=client,
114
+
115
+ ).parsed
116
+
117
+ async def asyncio_detailed(
118
+ group_id: str,
119
+ *,
120
+ client: Union[AuthenticatedClient, Client],
121
+
122
+ ) -> Response[Union[Any, GroupDto]]:
123
+ """
124
+ Args:
125
+ group_id (str):
126
+
127
+ Raises:
128
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
129
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
130
+
131
+ Returns:
132
+ Response[Union[Any, GroupDto]]
133
+ """
134
+
135
+
136
+ kwargs = _get_kwargs(
137
+ group_id=group_id,
138
+
139
+ )
140
+
141
+ response = await client.get_async_httpx_client().request(
142
+ **kwargs
143
+ )
144
+
145
+ return _build_response(client=client, response=response)
146
+
147
+ async def asyncio(
148
+ group_id: str,
149
+ *,
150
+ client: Union[AuthenticatedClient, Client],
151
+
152
+ ) -> Optional[Union[Any, GroupDto]]:
153
+ """
154
+ Args:
155
+ group_id (str):
156
+
157
+ Raises:
158
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
159
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
160
+
161
+ Returns:
162
+ Union[Any, GroupDto]
163
+ """
164
+
165
+
166
+ return (await asyncio_detailed(
167
+ group_id=group_id,
168
+ client=client,
169
+
170
+ )).parsed
@@ -0,0 +1,175 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+ from ...models.slim_mini_dto import SlimMiniDto
11
+ from typing import cast
12
+
13
+
14
+
15
+ def _get_kwargs(
16
+ group_id: str,
17
+
18
+ ) -> dict[str, Any]:
19
+
20
+
21
+
22
+
23
+
24
+
25
+ _kwargs: dict[str, Any] = {
26
+ "method": "get",
27
+ "url": "/api/Groups/{group_id}/minis".format(group_id=group_id,),
28
+ }
29
+
30
+
31
+ return _kwargs
32
+
33
+
34
+
35
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, list['SlimMiniDto']]]:
36
+ if response.status_code == 200:
37
+ response_200 = []
38
+ _response_200 = response.json()
39
+ for response_200_item_data in (_response_200):
40
+ response_200_item = SlimMiniDto.from_dict(response_200_item_data)
41
+
42
+
43
+
44
+ response_200.append(response_200_item)
45
+
46
+ return response_200
47
+
48
+ if response.status_code == 404:
49
+ response_404 = cast(Any, None)
50
+ return response_404
51
+
52
+ if client.raise_on_unexpected_status:
53
+ raise errors.UnexpectedStatus(response.status_code, response.content)
54
+ else:
55
+ return None
56
+
57
+
58
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, list['SlimMiniDto']]]:
59
+ return Response(
60
+ status_code=HTTPStatus(response.status_code),
61
+ content=response.content,
62
+ headers=response.headers,
63
+ parsed=_parse_response(client=client, response=response),
64
+ )
65
+
66
+
67
+ def sync_detailed(
68
+ group_id: str,
69
+ *,
70
+ client: Union[AuthenticatedClient, Client],
71
+
72
+ ) -> Response[Union[Any, list['SlimMiniDto']]]:
73
+ """
74
+ Args:
75
+ group_id (str):
76
+
77
+ Raises:
78
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
79
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
80
+
81
+ Returns:
82
+ Response[Union[Any, list['SlimMiniDto']]]
83
+ """
84
+
85
+
86
+ kwargs = _get_kwargs(
87
+ group_id=group_id,
88
+
89
+ )
90
+
91
+ response = client.get_httpx_client().request(
92
+ **kwargs,
93
+ )
94
+
95
+ return _build_response(client=client, response=response)
96
+
97
+ def sync(
98
+ group_id: str,
99
+ *,
100
+ client: Union[AuthenticatedClient, Client],
101
+
102
+ ) -> Optional[Union[Any, list['SlimMiniDto']]]:
103
+ """
104
+ Args:
105
+ group_id (str):
106
+
107
+ Raises:
108
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
109
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
110
+
111
+ Returns:
112
+ Union[Any, list['SlimMiniDto']]
113
+ """
114
+
115
+
116
+ return sync_detailed(
117
+ group_id=group_id,
118
+ client=client,
119
+
120
+ ).parsed
121
+
122
+ async def asyncio_detailed(
123
+ group_id: str,
124
+ *,
125
+ client: Union[AuthenticatedClient, Client],
126
+
127
+ ) -> Response[Union[Any, list['SlimMiniDto']]]:
128
+ """
129
+ Args:
130
+ group_id (str):
131
+
132
+ Raises:
133
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
134
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
135
+
136
+ Returns:
137
+ Response[Union[Any, list['SlimMiniDto']]]
138
+ """
139
+
140
+
141
+ kwargs = _get_kwargs(
142
+ group_id=group_id,
143
+
144
+ )
145
+
146
+ response = await client.get_async_httpx_client().request(
147
+ **kwargs
148
+ )
149
+
150
+ return _build_response(client=client, response=response)
151
+
152
+ async def asyncio(
153
+ group_id: str,
154
+ *,
155
+ client: Union[AuthenticatedClient, Client],
156
+
157
+ ) -> Optional[Union[Any, list['SlimMiniDto']]]:
158
+ """
159
+ Args:
160
+ group_id (str):
161
+
162
+ Raises:
163
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
164
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
165
+
166
+ Returns:
167
+ Union[Any, list['SlimMiniDto']]
168
+ """
169
+
170
+
171
+ return (await asyncio_detailed(
172
+ group_id=group_id,
173
+ client=client,
174
+
175
+ )).parsed
@@ -0,0 +1,175 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+ from ...models.user_dto import UserDto
11
+ from typing import cast
12
+
13
+
14
+
15
+ def _get_kwargs(
16
+ group_id: str,
17
+
18
+ ) -> dict[str, Any]:
19
+
20
+
21
+
22
+
23
+
24
+
25
+ _kwargs: dict[str, Any] = {
26
+ "method": "get",
27
+ "url": "/api/Groups/{group_id}/users".format(group_id=group_id,),
28
+ }
29
+
30
+
31
+ return _kwargs
32
+
33
+
34
+
35
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, list['UserDto']]]:
36
+ if response.status_code == 200:
37
+ response_200 = []
38
+ _response_200 = response.json()
39
+ for response_200_item_data in (_response_200):
40
+ response_200_item = UserDto.from_dict(response_200_item_data)
41
+
42
+
43
+
44
+ response_200.append(response_200_item)
45
+
46
+ return response_200
47
+
48
+ if response.status_code == 404:
49
+ response_404 = cast(Any, None)
50
+ return response_404
51
+
52
+ if client.raise_on_unexpected_status:
53
+ raise errors.UnexpectedStatus(response.status_code, response.content)
54
+ else:
55
+ return None
56
+
57
+
58
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, list['UserDto']]]:
59
+ return Response(
60
+ status_code=HTTPStatus(response.status_code),
61
+ content=response.content,
62
+ headers=response.headers,
63
+ parsed=_parse_response(client=client, response=response),
64
+ )
65
+
66
+
67
+ def sync_detailed(
68
+ group_id: str,
69
+ *,
70
+ client: Union[AuthenticatedClient, Client],
71
+
72
+ ) -> Response[Union[Any, list['UserDto']]]:
73
+ """
74
+ Args:
75
+ group_id (str):
76
+
77
+ Raises:
78
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
79
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
80
+
81
+ Returns:
82
+ Response[Union[Any, list['UserDto']]]
83
+ """
84
+
85
+
86
+ kwargs = _get_kwargs(
87
+ group_id=group_id,
88
+
89
+ )
90
+
91
+ response = client.get_httpx_client().request(
92
+ **kwargs,
93
+ )
94
+
95
+ return _build_response(client=client, response=response)
96
+
97
+ def sync(
98
+ group_id: str,
99
+ *,
100
+ client: Union[AuthenticatedClient, Client],
101
+
102
+ ) -> Optional[Union[Any, list['UserDto']]]:
103
+ """
104
+ Args:
105
+ group_id (str):
106
+
107
+ Raises:
108
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
109
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
110
+
111
+ Returns:
112
+ Union[Any, list['UserDto']]
113
+ """
114
+
115
+
116
+ return sync_detailed(
117
+ group_id=group_id,
118
+ client=client,
119
+
120
+ ).parsed
121
+
122
+ async def asyncio_detailed(
123
+ group_id: str,
124
+ *,
125
+ client: Union[AuthenticatedClient, Client],
126
+
127
+ ) -> Response[Union[Any, list['UserDto']]]:
128
+ """
129
+ Args:
130
+ group_id (str):
131
+
132
+ Raises:
133
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
134
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
135
+
136
+ Returns:
137
+ Response[Union[Any, list['UserDto']]]
138
+ """
139
+
140
+
141
+ kwargs = _get_kwargs(
142
+ group_id=group_id,
143
+
144
+ )
145
+
146
+ response = await client.get_async_httpx_client().request(
147
+ **kwargs
148
+ )
149
+
150
+ return _build_response(client=client, response=response)
151
+
152
+ async def asyncio(
153
+ group_id: str,
154
+ *,
155
+ client: Union[AuthenticatedClient, Client],
156
+
157
+ ) -> Optional[Union[Any, list['UserDto']]]:
158
+ """
159
+ Args:
160
+ group_id (str):
161
+
162
+ Raises:
163
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
164
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
165
+
166
+ Returns:
167
+ Union[Any, list['UserDto']]
168
+ """
169
+
170
+
171
+ return (await asyncio_detailed(
172
+ group_id=group_id,
173
+ client=client,
174
+
175
+ )).parsed
@@ -0,0 +1,150 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+ from ...models.group_dto import GroupDto
11
+ from typing import cast
12
+
13
+
14
+
15
+ def _get_kwargs(
16
+
17
+ ) -> dict[str, Any]:
18
+
19
+
20
+
21
+
22
+
23
+
24
+ _kwargs: dict[str, Any] = {
25
+ "method": "get",
26
+ "url": "/api/Groups",
27
+ }
28
+
29
+
30
+ return _kwargs
31
+
32
+
33
+
34
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[list['GroupDto']]:
35
+ if response.status_code == 200:
36
+ response_200 = []
37
+ _response_200 = response.json()
38
+ for response_200_item_data in (_response_200):
39
+ response_200_item = GroupDto.from_dict(response_200_item_data)
40
+
41
+
42
+
43
+ response_200.append(response_200_item)
44
+
45
+ return response_200
46
+
47
+ if client.raise_on_unexpected_status:
48
+ raise errors.UnexpectedStatus(response.status_code, response.content)
49
+ else:
50
+ return None
51
+
52
+
53
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[list['GroupDto']]:
54
+ return Response(
55
+ status_code=HTTPStatus(response.status_code),
56
+ content=response.content,
57
+ headers=response.headers,
58
+ parsed=_parse_response(client=client, response=response),
59
+ )
60
+
61
+
62
+ def sync_detailed(
63
+ *,
64
+ client: Union[AuthenticatedClient, Client],
65
+
66
+ ) -> Response[list['GroupDto']]:
67
+ """
68
+ Raises:
69
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
70
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
71
+
72
+ Returns:
73
+ Response[list['GroupDto']]
74
+ """
75
+
76
+
77
+ kwargs = _get_kwargs(
78
+
79
+ )
80
+
81
+ response = client.get_httpx_client().request(
82
+ **kwargs,
83
+ )
84
+
85
+ return _build_response(client=client, response=response)
86
+
87
+ def sync(
88
+ *,
89
+ client: Union[AuthenticatedClient, Client],
90
+
91
+ ) -> Optional[list['GroupDto']]:
92
+ """
93
+ Raises:
94
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
95
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
96
+
97
+ Returns:
98
+ list['GroupDto']
99
+ """
100
+
101
+
102
+ return sync_detailed(
103
+ client=client,
104
+
105
+ ).parsed
106
+
107
+ async def asyncio_detailed(
108
+ *,
109
+ client: Union[AuthenticatedClient, Client],
110
+
111
+ ) -> Response[list['GroupDto']]:
112
+ """
113
+ Raises:
114
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
115
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
116
+
117
+ Returns:
118
+ Response[list['GroupDto']]
119
+ """
120
+
121
+
122
+ kwargs = _get_kwargs(
123
+
124
+ )
125
+
126
+ response = await client.get_async_httpx_client().request(
127
+ **kwargs
128
+ )
129
+
130
+ return _build_response(client=client, response=response)
131
+
132
+ async def asyncio(
133
+ *,
134
+ client: Union[AuthenticatedClient, Client],
135
+
136
+ ) -> Optional[list['GroupDto']]:
137
+ """
138
+ Raises:
139
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
140
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
141
+
142
+ Returns:
143
+ list['GroupDto']
144
+ """
145
+
146
+
147
+ return (await asyncio_detailed(
148
+ client=client,
149
+
150
+ )).parsed