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

Files changed (91) hide show
  1. minikai/__init__.py +1 -1
  2. minikai/api/__init__.py +1 -1
  3. minikai/api/groups/__init__.py +1 -1
  4. minikai/api/groups/add_minis_to_group.py +53 -33
  5. minikai/api/groups/add_users_to_group.py +53 -33
  6. minikai/api/groups/create_group.py +45 -27
  7. minikai/api/groups/delete_group.py +29 -9
  8. minikai/api/groups/get_group.py +47 -28
  9. minikai/api/groups/get_group_minis.py +52 -33
  10. minikai/api/groups/get_group_users.py +52 -33
  11. minikai/api/groups/get_groups.py +56 -34
  12. minikai/api/groups/remove_minis_from_group.py +53 -33
  13. minikai/api/groups/remove_users_from_group.py +53 -33
  14. minikai/api/groups/update_group.py +51 -33
  15. minikai/api/minis/__init__.py +1 -1
  16. minikai/api/minis/create_mini.py +45 -27
  17. minikai/api/minis/delete_mini.py +29 -9
  18. minikai/api/minis/get_external_mini.py +52 -33
  19. minikai/api/minis/get_minis.py +56 -34
  20. minikai/api/minis/patch_mini.py +51 -33
  21. minikai/api/minis/update_mini.py +51 -33
  22. minikai/api/records/__init__.py +1 -1
  23. minikai/api/records/add_attachments.py +59 -38
  24. minikai/api/records/add_relations.py +65 -43
  25. minikai/api/records/create_record.py +48 -28
  26. minikai/api/records/delete_record.py +29 -9
  27. minikai/api/records/download_attachment.py +119 -0
  28. minikai/api/records/get_records_by_external.py +68 -45
  29. minikai/api/records/remove_attachments.py +33 -11
  30. minikai/api/records/remove_relations.py +33 -11
  31. minikai/api/records/update_attachments.py +59 -38
  32. minikai/api/records/update_record.py +53 -33
  33. minikai/api/records/update_relations.py +65 -43
  34. minikai/api/users/__init__.py +1 -1
  35. minikai/api/users/delete_api_users_minis.py +31 -11
  36. minikai/api/users/get_api_users_minis.py +52 -33
  37. minikai/api/users/get_users.py +56 -34
  38. minikai/api/users/post_api_users_minis.py +52 -33
  39. minikai/client.py +6 -3
  40. minikai/errors.py +1 -3
  41. minikai/models/__init__.py +5 -1
  42. minikai/models/add_attachments_body.py +45 -13
  43. minikai/models/create_group_command.py +35 -10
  44. minikai/models/create_mini_command.py +34 -10
  45. minikai/models/create_record_command.py +87 -41
  46. minikai/models/create_record_command_tags.py +22 -3
  47. minikai/models/cursor_paginated_list_of_record_dto.py +122 -0
  48. minikai/models/document_file_dto.py +37 -13
  49. minikai/models/document_file_metadata_dto.py +27 -7
  50. minikai/models/form_field.py +38 -12
  51. minikai/models/form_field_dto.py +48 -16
  52. minikai/models/form_field_type.py +2 -8
  53. minikai/models/group_dto.py +50 -19
  54. minikai/models/http_validation_problem_details.py +41 -16
  55. minikai/models/http_validation_problem_details_errors.py +26 -3
  56. minikai/models/json_node.py +49 -24
  57. minikai/models/json_node_options.py +26 -7
  58. minikai/models/mini_dto.py +62 -27
  59. minikai/models/mini_template_dto.py +50 -18
  60. minikai/models/paginated_list_of_record_dto.py +39 -16
  61. minikai/models/patch_mini_command.py +30 -8
  62. minikai/models/problem_details.py +34 -11
  63. minikai/models/record.py +134 -55
  64. minikai/models/record_attachment.py +56 -27
  65. minikai/models/record_attachment_dto.py +56 -27
  66. minikai/models/record_attachment_dto_metadata_type_0.py +22 -3
  67. minikai/models/record_attachment_metadata_type_0.py +22 -3
  68. minikai/models/record_authorization.py +41 -9
  69. minikai/models/record_authorization_dto.py +41 -9
  70. minikai/models/record_dto.py +113 -54
  71. minikai/models/record_dto_tags.py +22 -3
  72. minikai/models/record_relation.py +35 -11
  73. minikai/models/record_relation_dto.py +35 -11
  74. minikai/models/record_tag.py +40 -13
  75. minikai/models/record_tag_dto.py +68 -0
  76. minikai/models/slim_mini_dto.py +51 -22
  77. minikai/models/tool_dto.py +29 -10
  78. minikai/models/update_attachments_body.py +45 -13
  79. minikai/models/update_group_command.py +37 -11
  80. minikai/models/update_mini_command.py +35 -11
  81. minikai/models/update_mini_template_workspaces_command.py +30 -7
  82. minikai/models/update_record_command.py +87 -42
  83. minikai/models/update_record_command_tags.py +22 -3
  84. minikai/models/user_dto.py +50 -17
  85. minikai/models/user_to_mini_dto.py +30 -9
  86. minikai/models/workspace_dto.py +30 -9
  87. minikai/types.py +5 -6
  88. {minikai-0.1.2.dist-info → minikai-0.1.3.dist-info}/METADATA +1 -1
  89. minikai-0.1.3.dist-info/RECORD +91 -0
  90. minikai-0.1.2.dist-info/RECORD +0 -88
  91. {minikai-0.1.2.dist-info → minikai-0.1.3.dist-info}/WHEEL +0 -0
@@ -3,41 +3,53 @@ 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.http_validation_problem_details import HttpValidationProblemDetails
9
11
  from ...models.record_attachment import RecordAttachment
10
12
  from ...models.update_attachments_body import UpdateAttachmentsBody
11
- from ...types import Response
13
+ from typing import cast
14
+
12
15
 
13
16
 
14
17
  def _get_kwargs(
15
18
  record_id: str,
16
19
  *,
17
20
  body: UpdateAttachmentsBody,
21
+
18
22
  ) -> dict[str, Any]:
19
23
  headers: dict[str, Any] = {}
20
24
 
25
+
26
+
27
+
28
+
29
+
21
30
  _kwargs: dict[str, Any] = {
22
31
  "method": "put",
23
- "url": f"/api/Records/{record_id}/attachments",
32
+ "url": "/api/Records/{record_id}/attachments".format(record_id=record_id,),
24
33
  }
25
34
 
26
35
  _kwargs["files"] = body.to_multipart()
27
36
 
37
+
38
+
28
39
  _kwargs["headers"] = headers
29
40
  return _kwargs
30
41
 
31
42
 
32
- def _parse_response(
33
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
34
- ) -> Optional[Union[Any, HttpValidationProblemDetails, list["RecordAttachment"]]]:
43
+
44
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]]:
35
45
  if response.status_code == 200:
36
46
  response_200 = []
37
47
  _response_200 = response.json()
38
- for response_200_item_data in _response_200:
48
+ for response_200_item_data in (_response_200):
39
49
  response_200_item = RecordAttachment.from_dict(response_200_item_data)
40
50
 
51
+
52
+
41
53
  response_200.append(response_200_item)
42
54
 
43
55
  return response_200
@@ -45,6 +57,8 @@ def _parse_response(
45
57
  if response.status_code == 400:
46
58
  response_400 = HttpValidationProblemDetails.from_dict(response.json())
47
59
 
60
+
61
+
48
62
  return response_400
49
63
 
50
64
  if response.status_code == 404:
@@ -57,9 +71,7 @@ def _parse_response(
57
71
  return None
58
72
 
59
73
 
60
- def _build_response(
61
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
62
- ) -> Response[Union[Any, HttpValidationProblemDetails, list["RecordAttachment"]]]:
74
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]]:
63
75
  return Response(
64
76
  status_code=HTTPStatus(response.status_code),
65
77
  content=response.content,
@@ -73,8 +85,9 @@ def sync_detailed(
73
85
  *,
74
86
  client: Union[AuthenticatedClient, Client],
75
87
  body: UpdateAttachmentsBody,
76
- ) -> Response[Union[Any, HttpValidationProblemDetails, list["RecordAttachment"]]]:
77
- """
88
+
89
+ ) -> Response[Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]]:
90
+ """
78
91
  Args:
79
92
  record_id (str):
80
93
  body (UpdateAttachmentsBody):
@@ -85,11 +98,13 @@ def sync_detailed(
85
98
 
86
99
  Returns:
87
100
  Response[Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]]
88
- """
101
+ """
102
+
89
103
 
90
104
  kwargs = _get_kwargs(
91
105
  record_id=record_id,
92
- body=body,
106
+ body=body,
107
+
93
108
  )
94
109
 
95
110
  response = client.get_httpx_client().request(
@@ -98,14 +113,14 @@ def sync_detailed(
98
113
 
99
114
  return _build_response(client=client, response=response)
100
115
 
101
-
102
116
  def sync(
103
117
  record_id: str,
104
118
  *,
105
119
  client: Union[AuthenticatedClient, Client],
106
120
  body: UpdateAttachmentsBody,
107
- ) -> Optional[Union[Any, HttpValidationProblemDetails, list["RecordAttachment"]]]:
108
- """
121
+
122
+ ) -> Optional[Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]]:
123
+ """
109
124
  Args:
110
125
  record_id (str):
111
126
  body (UpdateAttachmentsBody):
@@ -116,22 +131,24 @@ def sync(
116
131
 
117
132
  Returns:
118
133
  Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]
119
- """
134
+ """
135
+
120
136
 
121
137
  return sync_detailed(
122
138
  record_id=record_id,
123
- client=client,
124
- body=body,
125
- ).parsed
139
+ client=client,
140
+ body=body,
126
141
 
142
+ ).parsed
127
143
 
128
144
  async def asyncio_detailed(
129
145
  record_id: str,
130
146
  *,
131
147
  client: Union[AuthenticatedClient, Client],
132
148
  body: UpdateAttachmentsBody,
133
- ) -> Response[Union[Any, HttpValidationProblemDetails, list["RecordAttachment"]]]:
134
- """
149
+
150
+ ) -> Response[Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]]:
151
+ """
135
152
  Args:
136
153
  record_id (str):
137
154
  body (UpdateAttachmentsBody):
@@ -142,25 +159,29 @@ async def asyncio_detailed(
142
159
 
143
160
  Returns:
144
161
  Response[Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]]
145
- """
162
+ """
163
+
146
164
 
147
165
  kwargs = _get_kwargs(
148
166
  record_id=record_id,
149
- body=body,
167
+ body=body,
168
+
150
169
  )
151
170
 
152
- response = await client.get_async_httpx_client().request(**kwargs)
171
+ response = await client.get_async_httpx_client().request(
172
+ **kwargs
173
+ )
153
174
 
154
175
  return _build_response(client=client, response=response)
155
176
 
156
-
157
177
  async def asyncio(
158
178
  record_id: str,
159
179
  *,
160
180
  client: Union[AuthenticatedClient, Client],
161
181
  body: UpdateAttachmentsBody,
162
- ) -> Optional[Union[Any, HttpValidationProblemDetails, list["RecordAttachment"]]]:
163
- """
182
+
183
+ ) -> Optional[Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]]:
184
+ """
164
185
  Args:
165
186
  record_id (str):
166
187
  body (UpdateAttachmentsBody):
@@ -171,12 +192,12 @@ async def asyncio(
171
192
 
172
193
  Returns:
173
194
  Union[Any, HttpValidationProblemDetails, list['RecordAttachment']]
174
- """
175
-
176
- return (
177
- await asyncio_detailed(
178
- record_id=record_id,
179
- client=client,
180
- body=body,
181
- )
182
- ).parsed
195
+ """
196
+
197
+
198
+ return (await asyncio_detailed(
199
+ record_id=record_id,
200
+ client=client,
201
+ body=body,
202
+
203
+ )).parsed
@@ -3,45 +3,58 @@ 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.http_validation_problem_details import HttpValidationProblemDetails
9
11
  from ...models.record import Record
10
12
  from ...models.update_record_command import UpdateRecordCommand
11
- from ...types import Response
13
+ from typing import cast
14
+
12
15
 
13
16
 
14
17
  def _get_kwargs(
15
18
  record_id: str,
16
19
  *,
17
20
  body: UpdateRecordCommand,
21
+
18
22
  ) -> dict[str, Any]:
19
23
  headers: dict[str, Any] = {}
20
24
 
25
+
26
+
27
+
28
+
29
+
21
30
  _kwargs: dict[str, Any] = {
22
31
  "method": "put",
23
- "url": f"/api/Records/{record_id}",
32
+ "url": "/api/Records/{record_id}".format(record_id=record_id,),
24
33
  }
25
34
 
26
35
  _kwargs["json"] = body.to_dict()
27
36
 
37
+
28
38
  headers["Content-Type"] = "application/json"
29
39
 
30
40
  _kwargs["headers"] = headers
31
41
  return _kwargs
32
42
 
33
43
 
34
- def _parse_response(
35
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
36
- ) -> Optional[Union[Any, HttpValidationProblemDetails, Record]]:
44
+
45
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, HttpValidationProblemDetails, Record]]:
37
46
  if response.status_code == 200:
38
47
  response_200 = Record.from_dict(response.json())
39
48
 
49
+
50
+
40
51
  return response_200
41
52
 
42
53
  if response.status_code == 400:
43
54
  response_400 = HttpValidationProblemDetails.from_dict(response.json())
44
55
 
56
+
57
+
45
58
  return response_400
46
59
 
47
60
  if response.status_code == 404:
@@ -54,9 +67,7 @@ def _parse_response(
54
67
  return None
55
68
 
56
69
 
57
- def _build_response(
58
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
59
- ) -> Response[Union[Any, HttpValidationProblemDetails, Record]]:
70
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, HttpValidationProblemDetails, Record]]:
60
71
  return Response(
61
72
  status_code=HTTPStatus(response.status_code),
62
73
  content=response.content,
@@ -70,8 +81,9 @@ def sync_detailed(
70
81
  *,
71
82
  client: Union[AuthenticatedClient, Client],
72
83
  body: UpdateRecordCommand,
84
+
73
85
  ) -> Response[Union[Any, HttpValidationProblemDetails, Record]]:
74
- """
86
+ """
75
87
  Args:
76
88
  record_id (str):
77
89
  body (UpdateRecordCommand):
@@ -82,11 +94,13 @@ def sync_detailed(
82
94
 
83
95
  Returns:
84
96
  Response[Union[Any, HttpValidationProblemDetails, Record]]
85
- """
97
+ """
98
+
86
99
 
87
100
  kwargs = _get_kwargs(
88
101
  record_id=record_id,
89
- body=body,
102
+ body=body,
103
+
90
104
  )
91
105
 
92
106
  response = client.get_httpx_client().request(
@@ -95,14 +109,14 @@ def sync_detailed(
95
109
 
96
110
  return _build_response(client=client, response=response)
97
111
 
98
-
99
112
  def sync(
100
113
  record_id: str,
101
114
  *,
102
115
  client: Union[AuthenticatedClient, Client],
103
116
  body: UpdateRecordCommand,
117
+
104
118
  ) -> Optional[Union[Any, HttpValidationProblemDetails, Record]]:
105
- """
119
+ """
106
120
  Args:
107
121
  record_id (str):
108
122
  body (UpdateRecordCommand):
@@ -113,22 +127,24 @@ def sync(
113
127
 
114
128
  Returns:
115
129
  Union[Any, HttpValidationProblemDetails, Record]
116
- """
130
+ """
131
+
117
132
 
118
133
  return sync_detailed(
119
134
  record_id=record_id,
120
- client=client,
121
- body=body,
122
- ).parsed
135
+ client=client,
136
+ body=body,
123
137
 
138
+ ).parsed
124
139
 
125
140
  async def asyncio_detailed(
126
141
  record_id: str,
127
142
  *,
128
143
  client: Union[AuthenticatedClient, Client],
129
144
  body: UpdateRecordCommand,
145
+
130
146
  ) -> Response[Union[Any, HttpValidationProblemDetails, Record]]:
131
- """
147
+ """
132
148
  Args:
133
149
  record_id (str):
134
150
  body (UpdateRecordCommand):
@@ -139,25 +155,29 @@ async def asyncio_detailed(
139
155
 
140
156
  Returns:
141
157
  Response[Union[Any, HttpValidationProblemDetails, Record]]
142
- """
158
+ """
159
+
143
160
 
144
161
  kwargs = _get_kwargs(
145
162
  record_id=record_id,
146
- body=body,
163
+ body=body,
164
+
147
165
  )
148
166
 
149
- response = await client.get_async_httpx_client().request(**kwargs)
167
+ response = await client.get_async_httpx_client().request(
168
+ **kwargs
169
+ )
150
170
 
151
171
  return _build_response(client=client, response=response)
152
172
 
153
-
154
173
  async def asyncio(
155
174
  record_id: str,
156
175
  *,
157
176
  client: Union[AuthenticatedClient, Client],
158
177
  body: UpdateRecordCommand,
178
+
159
179
  ) -> Optional[Union[Any, HttpValidationProblemDetails, Record]]:
160
- """
180
+ """
161
181
  Args:
162
182
  record_id (str):
163
183
  body (UpdateRecordCommand):
@@ -168,12 +188,12 @@ async def asyncio(
168
188
 
169
189
  Returns:
170
190
  Union[Any, HttpValidationProblemDetails, Record]
171
- """
172
-
173
- return (
174
- await asyncio_detailed(
175
- record_id=record_id,
176
- client=client,
177
- body=body,
178
- )
179
- ).parsed
191
+ """
192
+
193
+
194
+ return (await asyncio_detailed(
195
+ record_id=record_id,
196
+ client=client,
197
+ body=body,
198
+
199
+ )).parsed
@@ -3,24 +3,33 @@ 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.http_validation_problem_details import HttpValidationProblemDetails
9
11
  from ...models.record_relation import RecordRelation
10
12
  from ...models.record_relation_dto import RecordRelationDto
11
- from ...types import Response
13
+ from typing import cast
14
+
12
15
 
13
16
 
14
17
  def _get_kwargs(
15
18
  record_id: str,
16
19
  *,
17
- body: list["RecordRelationDto"],
20
+ body: list['RecordRelationDto'],
21
+
18
22
  ) -> dict[str, Any]:
19
23
  headers: dict[str, Any] = {}
20
24
 
25
+
26
+
27
+
28
+
29
+
21
30
  _kwargs: dict[str, Any] = {
22
31
  "method": "put",
23
- "url": f"/api/Records/{record_id}/relations",
32
+ "url": "/api/Records/{record_id}/relations".format(record_id=record_id,),
24
33
  }
25
34
 
26
35
  _kwargs["json"] = []
@@ -28,21 +37,25 @@ def _get_kwargs(
28
37
  body_item = body_item_data.to_dict()
29
38
  _kwargs["json"].append(body_item)
30
39
 
40
+
41
+
42
+
31
43
  headers["Content-Type"] = "application/json"
32
44
 
33
45
  _kwargs["headers"] = headers
34
46
  return _kwargs
35
47
 
36
48
 
37
- def _parse_response(
38
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
39
- ) -> Optional[Union[Any, HttpValidationProblemDetails, list["RecordRelation"]]]:
49
+
50
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[Any, HttpValidationProblemDetails, list['RecordRelation']]]:
40
51
  if response.status_code == 200:
41
52
  response_200 = []
42
53
  _response_200 = response.json()
43
- for response_200_item_data in _response_200:
54
+ for response_200_item_data in (_response_200):
44
55
  response_200_item = RecordRelation.from_dict(response_200_item_data)
45
56
 
57
+
58
+
46
59
  response_200.append(response_200_item)
47
60
 
48
61
  return response_200
@@ -50,6 +63,8 @@ def _parse_response(
50
63
  if response.status_code == 400:
51
64
  response_400 = HttpValidationProblemDetails.from_dict(response.json())
52
65
 
66
+
67
+
53
68
  return response_400
54
69
 
55
70
  if response.status_code == 404:
@@ -62,9 +77,7 @@ def _parse_response(
62
77
  return None
63
78
 
64
79
 
65
- def _build_response(
66
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
67
- ) -> Response[Union[Any, HttpValidationProblemDetails, list["RecordRelation"]]]:
80
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[Any, HttpValidationProblemDetails, list['RecordRelation']]]:
68
81
  return Response(
69
82
  status_code=HTTPStatus(response.status_code),
70
83
  content=response.content,
@@ -77,9 +90,10 @@ def sync_detailed(
77
90
  record_id: str,
78
91
  *,
79
92
  client: Union[AuthenticatedClient, Client],
80
- body: list["RecordRelationDto"],
81
- ) -> Response[Union[Any, HttpValidationProblemDetails, list["RecordRelation"]]]:
82
- """
93
+ body: list['RecordRelationDto'],
94
+
95
+ ) -> Response[Union[Any, HttpValidationProblemDetails, list['RecordRelation']]]:
96
+ """
83
97
  Args:
84
98
  record_id (str):
85
99
  body (list['RecordRelationDto']):
@@ -90,11 +104,13 @@ def sync_detailed(
90
104
 
91
105
  Returns:
92
106
  Response[Union[Any, HttpValidationProblemDetails, list['RecordRelation']]]
93
- """
107
+ """
108
+
94
109
 
95
110
  kwargs = _get_kwargs(
96
111
  record_id=record_id,
97
- body=body,
112
+ body=body,
113
+
98
114
  )
99
115
 
100
116
  response = client.get_httpx_client().request(
@@ -103,14 +119,14 @@ def sync_detailed(
103
119
 
104
120
  return _build_response(client=client, response=response)
105
121
 
106
-
107
122
  def sync(
108
123
  record_id: str,
109
124
  *,
110
125
  client: Union[AuthenticatedClient, Client],
111
- body: list["RecordRelationDto"],
112
- ) -> Optional[Union[Any, HttpValidationProblemDetails, list["RecordRelation"]]]:
113
- """
126
+ body: list['RecordRelationDto'],
127
+
128
+ ) -> Optional[Union[Any, HttpValidationProblemDetails, list['RecordRelation']]]:
129
+ """
114
130
  Args:
115
131
  record_id (str):
116
132
  body (list['RecordRelationDto']):
@@ -121,22 +137,24 @@ def sync(
121
137
 
122
138
  Returns:
123
139
  Union[Any, HttpValidationProblemDetails, list['RecordRelation']]
124
- """
140
+ """
141
+
125
142
 
126
143
  return sync_detailed(
127
144
  record_id=record_id,
128
- client=client,
129
- body=body,
130
- ).parsed
145
+ client=client,
146
+ body=body,
131
147
 
148
+ ).parsed
132
149
 
133
150
  async def asyncio_detailed(
134
151
  record_id: str,
135
152
  *,
136
153
  client: Union[AuthenticatedClient, Client],
137
- body: list["RecordRelationDto"],
138
- ) -> Response[Union[Any, HttpValidationProblemDetails, list["RecordRelation"]]]:
139
- """
154
+ body: list['RecordRelationDto'],
155
+
156
+ ) -> Response[Union[Any, HttpValidationProblemDetails, list['RecordRelation']]]:
157
+ """
140
158
  Args:
141
159
  record_id (str):
142
160
  body (list['RecordRelationDto']):
@@ -147,25 +165,29 @@ async def asyncio_detailed(
147
165
 
148
166
  Returns:
149
167
  Response[Union[Any, HttpValidationProblemDetails, list['RecordRelation']]]
150
- """
168
+ """
169
+
151
170
 
152
171
  kwargs = _get_kwargs(
153
172
  record_id=record_id,
154
- body=body,
173
+ body=body,
174
+
155
175
  )
156
176
 
157
- response = await client.get_async_httpx_client().request(**kwargs)
177
+ response = await client.get_async_httpx_client().request(
178
+ **kwargs
179
+ )
158
180
 
159
181
  return _build_response(client=client, response=response)
160
182
 
161
-
162
183
  async def asyncio(
163
184
  record_id: str,
164
185
  *,
165
186
  client: Union[AuthenticatedClient, Client],
166
- body: list["RecordRelationDto"],
167
- ) -> Optional[Union[Any, HttpValidationProblemDetails, list["RecordRelation"]]]:
168
- """
187
+ body: list['RecordRelationDto'],
188
+
189
+ ) -> Optional[Union[Any, HttpValidationProblemDetails, list['RecordRelation']]]:
190
+ """
169
191
  Args:
170
192
  record_id (str):
171
193
  body (list['RecordRelationDto']):
@@ -176,12 +198,12 @@ async def asyncio(
176
198
 
177
199
  Returns:
178
200
  Union[Any, HttpValidationProblemDetails, list['RecordRelation']]
179
- """
180
-
181
- return (
182
- await asyncio_detailed(
183
- record_id=record_id,
184
- client=client,
185
- body=body,
186
- )
187
- ).parsed
201
+ """
202
+
203
+
204
+ return (await asyncio_detailed(
205
+ record_id=record_id,
206
+ client=client,
207
+ body=body,
208
+
209
+ )).parsed
@@ -1 +1 @@
1
- """Contains endpoint functions for accessing the API"""
1
+ """ Contains endpoint functions for accessing the API """