frameio 0.0.23__py3-none-any.whl → 0.0.24__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 frameio might be problematic. Click here for more details.
- frameio/account_permissions/client.py +2 -2
- frameio/account_permissions/raw_client.py +17 -17
- frameio/accounts/client.py +2 -2
- frameio/accounts/raw_client.py +17 -17
- frameio/comments/client.py +10 -10
- frameio/comments/raw_client.py +79 -79
- frameio/comments/types/create_comment_params_data.py +2 -2
- frameio/comments/types/update_comment_params_data.py +2 -2
- frameio/core/__init__.py +7 -0
- frameio/core/client_wrapper.py +2 -2
- frameio/core/unchecked_base_model.py +341 -0
- frameio/files/client.py +20 -20
- frameio/files/raw_client.py +159 -159
- frameio/files/types/file_copy_params_data.py +2 -2
- frameio/files/types/file_create_local_upload_params_data.py +2 -2
- frameio/files/types/file_create_params_data.py +2 -2
- frameio/files/types/file_create_remote_upload_params_data.py +2 -2
- frameio/files/types/file_move_params_data.py +2 -2
- frameio/files/types/file_update_params_data.py +2 -2
- frameio/folders/client.py +10 -10
- frameio/folders/raw_client.py +121 -121
- frameio/folders/types/folder_copy_params_data.py +2 -2
- frameio/folders/types/folder_create_params_data.py +2 -2
- frameio/folders/types/folder_move_params_data.py +2 -2
- frameio/folders/types/folder_update_params_data.py +2 -2
- frameio/metadata/client.py +16 -16
- frameio/metadata/raw_client.py +31 -31
- frameio/metadata/types/bulk_update_metadata_params_data.py +2 -2
- frameio/metadata/types/bulk_update_metadata_params_data_values_item.py +2 -2
- frameio/metadata_fields/client.py +8 -8
- frameio/metadata_fields/raw_client.py +63 -63
- frameio/metadata_fields/types/create_field_definition_params_data.py +26 -22
- frameio/metadata_fields/types/update_field_definition_params_data.py +26 -22
- frameio/project_permissions/client.py +6 -6
- frameio/project_permissions/raw_client.py +47 -47
- frameio/projects/client.py +10 -10
- frameio/projects/raw_client.py +79 -79
- frameio/shares/client.py +30 -30
- frameio/shares/raw_client.py +155 -155
- frameio/shares/types/add_asset_params_data.py +2 -2
- frameio/shares/types/add_reviewers_to_share_params_data.py +2 -2
- frameio/shares/types/add_reviewers_to_share_params_data_reviewers.py +2 -2
- frameio/shares/types/create_share_params_data.py +4 -3
- frameio/shares/types/remove_reviewer_params_data.py +2 -2
- frameio/shares/types/remove_reviewer_params_data_reviewers.py +2 -2
- frameio/shares/types/update_share_params_data.py +2 -2
- frameio/types/account.py +2 -2
- frameio/types/account_user_role.py +2 -2
- frameio/types/account_user_roles_response.py +2 -2
- frameio/types/accounts_response.py +2 -2
- frameio/types/add_asset_response.py +2 -2
- frameio/types/asset_common.py +2 -2
- frameio/types/asset_common_with_includes.py +2 -2
- frameio/types/asset_share_params.py +2 -2
- frameio/types/asset_with_includes.py +9 -5
- frameio/types/assets_with_includes_response.py +2 -2
- frameio/types/bad_request.py +2 -2
- frameio/types/bad_request_errors_item.py +2 -2
- frameio/types/bad_request_errors_item_source.py +2 -2
- frameio/types/comment.py +2 -2
- frameio/types/comment_response.py +2 -2
- frameio/types/comment_with_includes_response.py +2 -2
- frameio/types/comments_with_includes_response.py +2 -2
- frameio/types/date_definition.py +2 -2
- frameio/types/date_definition_field_configuration.py +2 -2
- frameio/types/date_definition_params.py +2 -2
- frameio/types/date_definition_params_field_configuration.py +2 -2
- frameio/types/field_definition.py +26 -22
- frameio/types/field_definition_response.py +2 -2
- frameio/types/field_definition_with_includes.py +26 -22
- frameio/types/field_definitions_with_includes_response.py +2 -2
- frameio/types/field_value_common.py +2 -2
- frameio/types/file.py +2 -2
- frameio/types/file_copy_response.py +2 -2
- frameio/types/file_remote_upload_response.py +2 -2
- frameio/types/file_response.py +2 -2
- frameio/types/file_upload_status.py +2 -2
- frameio/types/file_upload_status_response.py +2 -2
- frameio/types/file_with_includes_response.py +2 -2
- frameio/types/file_with_upload_urls_response.py +2 -2
- frameio/types/folder_copy_response.py +2 -2
- frameio/types/folder_response.py +2 -2
- frameio/types/folder_with_includes.py +2 -2
- frameio/types/folder_with_includes_response.py +2 -2
- frameio/types/folders_with_includes_response.py +2 -2
- frameio/types/forbidden.py +2 -2
- frameio/types/forbidden_errors_item.py +2 -2
- frameio/types/forbidden_errors_item_source.py +2 -2
- frameio/types/json_error_response.py +2 -2
- frameio/types/json_error_response_errors_item.py +2 -2
- frameio/types/json_error_response_errors_item_source.py +2 -2
- frameio/types/links.py +2 -2
- frameio/types/long_text_definition.py +2 -2
- frameio/types/long_text_definition_field_configuration.py +2 -2
- frameio/types/long_text_definition_params.py +2 -2
- frameio/types/media_link_common.py +2 -2
- frameio/types/media_links_collection.py +2 -2
- frameio/types/metadata_field.py +28 -24
- frameio/types/metadata_response.py +2 -2
- frameio/types/metadata_with_definition.py +2 -2
- frameio/types/not_found.py +2 -2
- frameio/types/not_found_errors_item.py +2 -2
- frameio/types/not_found_errors_item_source.py +2 -2
- frameio/types/number_definition.py +2 -2
- frameio/types/number_definition_field_configuration.py +2 -2
- frameio/types/number_definition_params.py +2 -2
- frameio/types/number_definition_params_field_configuration.py +2 -2
- frameio/types/profile.py +2 -2
- frameio/types/profile_response.py +2 -2
- frameio/types/project.py +2 -2
- frameio/types/project_params.py +2 -2
- frameio/types/project_params_data.py +2 -2
- frameio/types/project_response.py +2 -2
- frameio/types/project_with_includes_response.py +2 -2
- frameio/types/projects_with_includes_response.py +2 -2
- frameio/types/rating_definition.py +2 -2
- frameio/types/rating_definition_field_configuration.py +2 -2
- frameio/types/rating_definition_params.py +2 -2
- frameio/types/rating_definition_params_field_configuration.py +2 -2
- frameio/types/remove_asset_response.py +2 -2
- frameio/types/select_definition.py +2 -2
- frameio/types/select_definition_field_configuration.py +2 -2
- frameio/types/select_definition_field_configuration_options_item.py +2 -2
- frameio/types/select_definition_params.py +2 -2
- frameio/types/select_definition_params_field_configuration.py +2 -2
- frameio/types/select_definition_params_field_configuration_options_item.py +2 -2
- frameio/types/select_multi_definition.py +2 -2
- frameio/types/select_multi_definition_field_configuration.py +2 -2
- frameio/types/select_multi_definition_field_configuration_options_item.py +2 -2
- frameio/types/select_multi_definition_params.py +2 -2
- frameio/types/select_multi_definition_params_field_configuration.py +2 -2
- frameio/types/select_multi_definition_params_field_configuration_options_item.py +2 -2
- frameio/types/select_option.py +2 -2
- frameio/types/share.py +2 -2
- frameio/types/share_response.py +2 -2
- frameio/types/share_reviewers_response.py +2 -2
- frameio/types/shares_response.py +2 -2
- frameio/types/text_definition.py +2 -2
- frameio/types/text_definition_field_configuration.py +2 -2
- frameio/types/text_definition_params.py +2 -2
- frameio/types/toggle_definition.py +2 -2
- frameio/types/toggle_definition_field_configuration.py +2 -2
- frameio/types/toggle_definition_params.py +2 -2
- frameio/types/toggle_definition_params_field_configuration.py +2 -2
- frameio/types/too_many_requests.py +2 -2
- frameio/types/too_many_requests_errors_item.py +2 -2
- frameio/types/too_many_requests_errors_item_source.py +2 -2
- frameio/types/unauthorized.py +2 -2
- frameio/types/unauthorized_errors_item.py +2 -2
- frameio/types/unauthorized_errors_item_source.py +2 -2
- frameio/types/unprocessable_entity.py +2 -2
- frameio/types/unprocessable_entity_errors_item.py +2 -2
- frameio/types/unprocessable_entity_errors_item_source.py +2 -2
- frameio/types/update_date_definition_params.py +2 -2
- frameio/types/update_date_definition_params_field_configuration.py +2 -2
- frameio/types/update_long_text_definition_params.py +2 -2
- frameio/types/update_number_definition_params.py +2 -2
- frameio/types/update_number_definition_params_field_configuration.py +2 -2
- frameio/types/update_rating_definition_params.py +2 -2
- frameio/types/update_rating_definition_params_field_configuration.py +2 -2
- frameio/types/update_select_definition_params.py +2 -2
- frameio/types/update_select_definition_params_field_configuration.py +2 -2
- frameio/types/update_select_definition_params_field_configuration_options_item.py +2 -2
- frameio/types/update_select_multi_definition_params.py +2 -2
- frameio/types/update_select_multi_definition_params_field_configuration.py +2 -2
- frameio/types/update_select_multi_definition_params_field_configuration_options_item.py +2 -2
- frameio/types/update_text_definition_params.py +2 -2
- frameio/types/update_toggle_definition_params.py +2 -2
- frameio/types/update_toggle_definition_params_field_configuration.py +2 -2
- frameio/types/update_user_multi_definition_params.py +2 -2
- frameio/types/update_user_multi_definition_params_field_configuration.py +2 -2
- frameio/types/update_user_multi_definition_params_field_configuration_custom_members_item.py +2 -2
- frameio/types/update_user_roles_params.py +2 -2
- frameio/types/update_user_roles_params_data.py +2 -2
- frameio/types/update_user_roles_response.py +2 -2
- frameio/types/update_user_roles_response_data.py +2 -2
- frameio/types/update_user_single_definition_params.py +2 -2
- frameio/types/update_user_single_definition_params_field_configuration.py +2 -2
- frameio/types/update_user_single_definition_params_field_configuration_custom_members_item.py +2 -2
- frameio/types/upload_url.py +2 -2
- frameio/types/user.py +2 -2
- frameio/types/user_multi_definition.py +2 -2
- frameio/types/user_multi_definition_field_configuration.py +2 -2
- frameio/types/user_multi_definition_field_configuration_custom_members_item.py +2 -2
- frameio/types/user_multi_definition_params.py +2 -2
- frameio/types/user_multi_definition_params_field_configuration.py +2 -2
- frameio/types/user_multi_definition_params_field_configuration_custom_members_item.py +2 -2
- frameio/types/user_role.py +2 -2
- frameio/types/user_roles_response.py +2 -2
- frameio/types/user_single_definition.py +2 -2
- frameio/types/user_single_definition_field_configuration.py +2 -2
- frameio/types/user_single_definition_field_configuration_custom_members_item.py +2 -2
- frameio/types/user_single_definition_params.py +2 -2
- frameio/types/user_single_definition_params_field_configuration.py +2 -2
- frameio/types/user_single_definition_params_field_configuration_custom_members_item.py +2 -2
- frameio/types/user_value.py +2 -2
- frameio/types/version_stack.py +2 -2
- frameio/types/version_stack_copy_response.py +2 -2
- frameio/types/version_stack_response.py +2 -2
- frameio/types/version_stack_with_includes.py +2 -2
- frameio/types/version_stack_with_includes_response.py +2 -2
- frameio/types/version_stacks_with_includes_response.py +2 -2
- frameio/types/webhook.py +2 -2
- frameio/types/webhook_create_response.py +2 -2
- frameio/types/webhook_response.py +2 -2
- frameio/types/webhook_with_includes_response.py +2 -2
- frameio/types/webhooks_with_includes_response.py +2 -2
- frameio/types/workspace.py +2 -2
- frameio/types/workspace_params.py +2 -2
- frameio/types/workspace_params_data.py +2 -2
- frameio/types/workspace_response.py +2 -2
- frameio/types/workspace_with_includes_response.py +2 -2
- frameio/types/workspaces_with_includes_response.py +2 -2
- frameio/users/client.py +2 -2
- frameio/users/raw_client.py +17 -17
- frameio/version_stacks/client.py +10 -10
- frameio/version_stacks/raw_client.py +77 -77
- frameio/version_stacks/types/version_stack_copy_params_data.py +2 -2
- frameio/version_stacks/types/version_stack_create_params_data.py +3 -3
- frameio/version_stacks/types/version_stack_move_params_data.py +2 -2
- frameio/webhooks/client.py +8 -8
- frameio/webhooks/raw_client.py +77 -77
- frameio/webhooks/types/webhook_create_params_data.py +2 -2
- frameio/webhooks/types/webhook_update_params_data.py +2 -2
- frameio/workspace_permissions/client.py +6 -6
- frameio/workspace_permissions/raw_client.py +47 -47
- frameio/workspaces/client.py +10 -10
- frameio/workspaces/raw_client.py +79 -79
- {frameio-0.0.23.dist-info → frameio-0.0.24.dist-info}/METADATA +1 -1
- frameio-0.0.24.dist-info/RECORD +364 -0
- frameio-0.0.23.dist-info/RECORD +0 -363
- {frameio-0.0.23.dist-info → frameio-0.0.24.dist-info}/WHEEL +0 -0
frameio/comments/raw_client.py
CHANGED
|
@@ -7,9 +7,9 @@ from ..core.api_error import ApiError
|
|
|
7
7
|
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
8
8
|
from ..core.http_response import AsyncHttpResponse, HttpResponse
|
|
9
9
|
from ..core.jsonable_encoder import jsonable_encoder
|
|
10
|
-
from ..core.pydantic_utilities import parse_obj_as
|
|
11
10
|
from ..core.request_options import RequestOptions
|
|
12
11
|
from ..core.serialization import convert_and_respect_annotation_metadata
|
|
12
|
+
from ..core.unchecked_base_model import construct_type
|
|
13
13
|
from ..errors.bad_request_error import BadRequestError
|
|
14
14
|
from ..errors.forbidden_error import ForbiddenError
|
|
15
15
|
from ..errors.not_found_error import NotFoundError
|
|
@@ -49,7 +49,7 @@ class RawCommentsClient:
|
|
|
49
49
|
request_options: typing.Optional[RequestOptions] = None,
|
|
50
50
|
) -> HttpResponse[CommentWithIncludesResponse]:
|
|
51
51
|
"""
|
|
52
|
-
Show a single comment on a file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
52
|
+
Show a single comment on a file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
53
53
|
|
|
54
54
|
Parameters
|
|
55
55
|
----------
|
|
@@ -82,7 +82,7 @@ class RawCommentsClient:
|
|
|
82
82
|
if 200 <= _response.status_code < 300:
|
|
83
83
|
_data = typing.cast(
|
|
84
84
|
CommentWithIncludesResponse,
|
|
85
|
-
|
|
85
|
+
construct_type(
|
|
86
86
|
type_=CommentWithIncludesResponse, # type: ignore
|
|
87
87
|
object_=_response.json(),
|
|
88
88
|
),
|
|
@@ -93,7 +93,7 @@ class RawCommentsClient:
|
|
|
93
93
|
headers=dict(_response.headers),
|
|
94
94
|
body=typing.cast(
|
|
95
95
|
BadRequest,
|
|
96
|
-
|
|
96
|
+
construct_type(
|
|
97
97
|
type_=BadRequest, # type: ignore
|
|
98
98
|
object_=_response.json(),
|
|
99
99
|
),
|
|
@@ -104,7 +104,7 @@ class RawCommentsClient:
|
|
|
104
104
|
headers=dict(_response.headers),
|
|
105
105
|
body=typing.cast(
|
|
106
106
|
Unauthorized,
|
|
107
|
-
|
|
107
|
+
construct_type(
|
|
108
108
|
type_=Unauthorized, # type: ignore
|
|
109
109
|
object_=_response.json(),
|
|
110
110
|
),
|
|
@@ -115,7 +115,7 @@ class RawCommentsClient:
|
|
|
115
115
|
headers=dict(_response.headers),
|
|
116
116
|
body=typing.cast(
|
|
117
117
|
Forbidden,
|
|
118
|
-
|
|
118
|
+
construct_type(
|
|
119
119
|
type_=Forbidden, # type: ignore
|
|
120
120
|
object_=_response.json(),
|
|
121
121
|
),
|
|
@@ -126,7 +126,7 @@ class RawCommentsClient:
|
|
|
126
126
|
headers=dict(_response.headers),
|
|
127
127
|
body=typing.cast(
|
|
128
128
|
NotFound,
|
|
129
|
-
|
|
129
|
+
construct_type(
|
|
130
130
|
type_=NotFound, # type: ignore
|
|
131
131
|
object_=_response.json(),
|
|
132
132
|
),
|
|
@@ -137,7 +137,7 @@ class RawCommentsClient:
|
|
|
137
137
|
headers=dict(_response.headers),
|
|
138
138
|
body=typing.cast(
|
|
139
139
|
typing.Optional[typing.Any],
|
|
140
|
-
|
|
140
|
+
construct_type(
|
|
141
141
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
142
142
|
object_=_response.json(),
|
|
143
143
|
),
|
|
@@ -148,7 +148,7 @@ class RawCommentsClient:
|
|
|
148
148
|
headers=dict(_response.headers),
|
|
149
149
|
body=typing.cast(
|
|
150
150
|
TooManyRequests,
|
|
151
|
-
|
|
151
|
+
construct_type(
|
|
152
152
|
type_=TooManyRequests, # type: ignore
|
|
153
153
|
object_=_response.json(),
|
|
154
154
|
),
|
|
@@ -163,7 +163,7 @@ class RawCommentsClient:
|
|
|
163
163
|
self, account_id: Uuid, comment_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
164
164
|
) -> HttpResponse[None]:
|
|
165
165
|
"""
|
|
166
|
-
Delete comment from an asset. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
166
|
+
Delete comment from an asset. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
167
167
|
|
|
168
168
|
Parameters
|
|
169
169
|
----------
|
|
@@ -193,7 +193,7 @@ class RawCommentsClient:
|
|
|
193
193
|
headers=dict(_response.headers),
|
|
194
194
|
body=typing.cast(
|
|
195
195
|
BadRequest,
|
|
196
|
-
|
|
196
|
+
construct_type(
|
|
197
197
|
type_=BadRequest, # type: ignore
|
|
198
198
|
object_=_response.json(),
|
|
199
199
|
),
|
|
@@ -204,7 +204,7 @@ class RawCommentsClient:
|
|
|
204
204
|
headers=dict(_response.headers),
|
|
205
205
|
body=typing.cast(
|
|
206
206
|
Unauthorized,
|
|
207
|
-
|
|
207
|
+
construct_type(
|
|
208
208
|
type_=Unauthorized, # type: ignore
|
|
209
209
|
object_=_response.json(),
|
|
210
210
|
),
|
|
@@ -215,7 +215,7 @@ class RawCommentsClient:
|
|
|
215
215
|
headers=dict(_response.headers),
|
|
216
216
|
body=typing.cast(
|
|
217
217
|
Forbidden,
|
|
218
|
-
|
|
218
|
+
construct_type(
|
|
219
219
|
type_=Forbidden, # type: ignore
|
|
220
220
|
object_=_response.json(),
|
|
221
221
|
),
|
|
@@ -226,7 +226,7 @@ class RawCommentsClient:
|
|
|
226
226
|
headers=dict(_response.headers),
|
|
227
227
|
body=typing.cast(
|
|
228
228
|
NotFound,
|
|
229
|
-
|
|
229
|
+
construct_type(
|
|
230
230
|
type_=NotFound, # type: ignore
|
|
231
231
|
object_=_response.json(),
|
|
232
232
|
),
|
|
@@ -237,7 +237,7 @@ class RawCommentsClient:
|
|
|
237
237
|
headers=dict(_response.headers),
|
|
238
238
|
body=typing.cast(
|
|
239
239
|
typing.Optional[typing.Any],
|
|
240
|
-
|
|
240
|
+
construct_type(
|
|
241
241
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
242
242
|
object_=_response.json(),
|
|
243
243
|
),
|
|
@@ -248,7 +248,7 @@ class RawCommentsClient:
|
|
|
248
248
|
headers=dict(_response.headers),
|
|
249
249
|
body=typing.cast(
|
|
250
250
|
TooManyRequests,
|
|
251
|
-
|
|
251
|
+
construct_type(
|
|
252
252
|
type_=TooManyRequests, # type: ignore
|
|
253
253
|
object_=_response.json(),
|
|
254
254
|
),
|
|
@@ -268,7 +268,7 @@ class RawCommentsClient:
|
|
|
268
268
|
request_options: typing.Optional[RequestOptions] = None,
|
|
269
269
|
) -> HttpResponse[CommentResponse]:
|
|
270
270
|
"""
|
|
271
|
-
Update comment on given asset. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
271
|
+
Update comment on given asset. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
272
272
|
|
|
273
273
|
Parameters
|
|
274
274
|
----------
|
|
@@ -306,7 +306,7 @@ class RawCommentsClient:
|
|
|
306
306
|
if 200 <= _response.status_code < 300:
|
|
307
307
|
_data = typing.cast(
|
|
308
308
|
CommentResponse,
|
|
309
|
-
|
|
309
|
+
construct_type(
|
|
310
310
|
type_=CommentResponse, # type: ignore
|
|
311
311
|
object_=_response.json(),
|
|
312
312
|
),
|
|
@@ -317,7 +317,7 @@ class RawCommentsClient:
|
|
|
317
317
|
headers=dict(_response.headers),
|
|
318
318
|
body=typing.cast(
|
|
319
319
|
BadRequest,
|
|
320
|
-
|
|
320
|
+
construct_type(
|
|
321
321
|
type_=BadRequest, # type: ignore
|
|
322
322
|
object_=_response.json(),
|
|
323
323
|
),
|
|
@@ -328,7 +328,7 @@ class RawCommentsClient:
|
|
|
328
328
|
headers=dict(_response.headers),
|
|
329
329
|
body=typing.cast(
|
|
330
330
|
Unauthorized,
|
|
331
|
-
|
|
331
|
+
construct_type(
|
|
332
332
|
type_=Unauthorized, # type: ignore
|
|
333
333
|
object_=_response.json(),
|
|
334
334
|
),
|
|
@@ -339,7 +339,7 @@ class RawCommentsClient:
|
|
|
339
339
|
headers=dict(_response.headers),
|
|
340
340
|
body=typing.cast(
|
|
341
341
|
Forbidden,
|
|
342
|
-
|
|
342
|
+
construct_type(
|
|
343
343
|
type_=Forbidden, # type: ignore
|
|
344
344
|
object_=_response.json(),
|
|
345
345
|
),
|
|
@@ -350,7 +350,7 @@ class RawCommentsClient:
|
|
|
350
350
|
headers=dict(_response.headers),
|
|
351
351
|
body=typing.cast(
|
|
352
352
|
NotFound,
|
|
353
|
-
|
|
353
|
+
construct_type(
|
|
354
354
|
type_=NotFound, # type: ignore
|
|
355
355
|
object_=_response.json(),
|
|
356
356
|
),
|
|
@@ -361,7 +361,7 @@ class RawCommentsClient:
|
|
|
361
361
|
headers=dict(_response.headers),
|
|
362
362
|
body=typing.cast(
|
|
363
363
|
typing.Optional[typing.Any],
|
|
364
|
-
|
|
364
|
+
construct_type(
|
|
365
365
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
366
366
|
object_=_response.json(),
|
|
367
367
|
),
|
|
@@ -372,7 +372,7 @@ class RawCommentsClient:
|
|
|
372
372
|
headers=dict(_response.headers),
|
|
373
373
|
body=typing.cast(
|
|
374
374
|
TooManyRequests,
|
|
375
|
-
|
|
375
|
+
construct_type(
|
|
376
376
|
type_=TooManyRequests, # type: ignore
|
|
377
377
|
object_=_response.json(),
|
|
378
378
|
),
|
|
@@ -395,7 +395,7 @@ class RawCommentsClient:
|
|
|
395
395
|
request_options: typing.Optional[RequestOptions] = None,
|
|
396
396
|
) -> HttpResponse[CommentsWithIncludesResponse]:
|
|
397
397
|
"""
|
|
398
|
-
List comments on a given asset. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
398
|
+
List comments on a given asset. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
399
399
|
|
|
400
400
|
Parameters
|
|
401
401
|
----------
|
|
@@ -442,7 +442,7 @@ class RawCommentsClient:
|
|
|
442
442
|
if 200 <= _response.status_code < 300:
|
|
443
443
|
_data = typing.cast(
|
|
444
444
|
CommentsWithIncludesResponse,
|
|
445
|
-
|
|
445
|
+
construct_type(
|
|
446
446
|
type_=CommentsWithIncludesResponse, # type: ignore
|
|
447
447
|
object_=_response.json(),
|
|
448
448
|
),
|
|
@@ -453,7 +453,7 @@ class RawCommentsClient:
|
|
|
453
453
|
headers=dict(_response.headers),
|
|
454
454
|
body=typing.cast(
|
|
455
455
|
BadRequest,
|
|
456
|
-
|
|
456
|
+
construct_type(
|
|
457
457
|
type_=BadRequest, # type: ignore
|
|
458
458
|
object_=_response.json(),
|
|
459
459
|
),
|
|
@@ -464,7 +464,7 @@ class RawCommentsClient:
|
|
|
464
464
|
headers=dict(_response.headers),
|
|
465
465
|
body=typing.cast(
|
|
466
466
|
Unauthorized,
|
|
467
|
-
|
|
467
|
+
construct_type(
|
|
468
468
|
type_=Unauthorized, # type: ignore
|
|
469
469
|
object_=_response.json(),
|
|
470
470
|
),
|
|
@@ -475,7 +475,7 @@ class RawCommentsClient:
|
|
|
475
475
|
headers=dict(_response.headers),
|
|
476
476
|
body=typing.cast(
|
|
477
477
|
Forbidden,
|
|
478
|
-
|
|
478
|
+
construct_type(
|
|
479
479
|
type_=Forbidden, # type: ignore
|
|
480
480
|
object_=_response.json(),
|
|
481
481
|
),
|
|
@@ -486,7 +486,7 @@ class RawCommentsClient:
|
|
|
486
486
|
headers=dict(_response.headers),
|
|
487
487
|
body=typing.cast(
|
|
488
488
|
NotFound,
|
|
489
|
-
|
|
489
|
+
construct_type(
|
|
490
490
|
type_=NotFound, # type: ignore
|
|
491
491
|
object_=_response.json(),
|
|
492
492
|
),
|
|
@@ -497,7 +497,7 @@ class RawCommentsClient:
|
|
|
497
497
|
headers=dict(_response.headers),
|
|
498
498
|
body=typing.cast(
|
|
499
499
|
typing.Optional[typing.Any],
|
|
500
|
-
|
|
500
|
+
construct_type(
|
|
501
501
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
502
502
|
object_=_response.json(),
|
|
503
503
|
),
|
|
@@ -508,7 +508,7 @@ class RawCommentsClient:
|
|
|
508
508
|
headers=dict(_response.headers),
|
|
509
509
|
body=typing.cast(
|
|
510
510
|
TooManyRequests,
|
|
511
|
-
|
|
511
|
+
construct_type(
|
|
512
512
|
type_=TooManyRequests, # type: ignore
|
|
513
513
|
object_=_response.json(),
|
|
514
514
|
),
|
|
@@ -528,7 +528,7 @@ class RawCommentsClient:
|
|
|
528
528
|
request_options: typing.Optional[RequestOptions] = None,
|
|
529
529
|
) -> HttpResponse[CommentResponse]:
|
|
530
530
|
"""
|
|
531
|
-
Create a comment on a file. <br><br>Rate Limits:
|
|
531
|
+
Create a comment on a file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
532
532
|
|
|
533
533
|
Parameters
|
|
534
534
|
----------
|
|
@@ -566,7 +566,7 @@ class RawCommentsClient:
|
|
|
566
566
|
if 200 <= _response.status_code < 300:
|
|
567
567
|
_data = typing.cast(
|
|
568
568
|
CommentResponse,
|
|
569
|
-
|
|
569
|
+
construct_type(
|
|
570
570
|
type_=CommentResponse, # type: ignore
|
|
571
571
|
object_=_response.json(),
|
|
572
572
|
),
|
|
@@ -577,7 +577,7 @@ class RawCommentsClient:
|
|
|
577
577
|
headers=dict(_response.headers),
|
|
578
578
|
body=typing.cast(
|
|
579
579
|
BadRequest,
|
|
580
|
-
|
|
580
|
+
construct_type(
|
|
581
581
|
type_=BadRequest, # type: ignore
|
|
582
582
|
object_=_response.json(),
|
|
583
583
|
),
|
|
@@ -588,7 +588,7 @@ class RawCommentsClient:
|
|
|
588
588
|
headers=dict(_response.headers),
|
|
589
589
|
body=typing.cast(
|
|
590
590
|
Unauthorized,
|
|
591
|
-
|
|
591
|
+
construct_type(
|
|
592
592
|
type_=Unauthorized, # type: ignore
|
|
593
593
|
object_=_response.json(),
|
|
594
594
|
),
|
|
@@ -599,7 +599,7 @@ class RawCommentsClient:
|
|
|
599
599
|
headers=dict(_response.headers),
|
|
600
600
|
body=typing.cast(
|
|
601
601
|
Forbidden,
|
|
602
|
-
|
|
602
|
+
construct_type(
|
|
603
603
|
type_=Forbidden, # type: ignore
|
|
604
604
|
object_=_response.json(),
|
|
605
605
|
),
|
|
@@ -610,7 +610,7 @@ class RawCommentsClient:
|
|
|
610
610
|
headers=dict(_response.headers),
|
|
611
611
|
body=typing.cast(
|
|
612
612
|
NotFound,
|
|
613
|
-
|
|
613
|
+
construct_type(
|
|
614
614
|
type_=NotFound, # type: ignore
|
|
615
615
|
object_=_response.json(),
|
|
616
616
|
),
|
|
@@ -621,7 +621,7 @@ class RawCommentsClient:
|
|
|
621
621
|
headers=dict(_response.headers),
|
|
622
622
|
body=typing.cast(
|
|
623
623
|
typing.Optional[typing.Any],
|
|
624
|
-
|
|
624
|
+
construct_type(
|
|
625
625
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
626
626
|
object_=_response.json(),
|
|
627
627
|
),
|
|
@@ -632,7 +632,7 @@ class RawCommentsClient:
|
|
|
632
632
|
headers=dict(_response.headers),
|
|
633
633
|
body=typing.cast(
|
|
634
634
|
TooManyRequests,
|
|
635
|
-
|
|
635
|
+
construct_type(
|
|
636
636
|
type_=TooManyRequests, # type: ignore
|
|
637
637
|
object_=_response.json(),
|
|
638
638
|
),
|
|
@@ -657,7 +657,7 @@ class AsyncRawCommentsClient:
|
|
|
657
657
|
request_options: typing.Optional[RequestOptions] = None,
|
|
658
658
|
) -> AsyncHttpResponse[CommentWithIncludesResponse]:
|
|
659
659
|
"""
|
|
660
|
-
Show a single comment on a file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
660
|
+
Show a single comment on a file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
661
661
|
|
|
662
662
|
Parameters
|
|
663
663
|
----------
|
|
@@ -690,7 +690,7 @@ class AsyncRawCommentsClient:
|
|
|
690
690
|
if 200 <= _response.status_code < 300:
|
|
691
691
|
_data = typing.cast(
|
|
692
692
|
CommentWithIncludesResponse,
|
|
693
|
-
|
|
693
|
+
construct_type(
|
|
694
694
|
type_=CommentWithIncludesResponse, # type: ignore
|
|
695
695
|
object_=_response.json(),
|
|
696
696
|
),
|
|
@@ -701,7 +701,7 @@ class AsyncRawCommentsClient:
|
|
|
701
701
|
headers=dict(_response.headers),
|
|
702
702
|
body=typing.cast(
|
|
703
703
|
BadRequest,
|
|
704
|
-
|
|
704
|
+
construct_type(
|
|
705
705
|
type_=BadRequest, # type: ignore
|
|
706
706
|
object_=_response.json(),
|
|
707
707
|
),
|
|
@@ -712,7 +712,7 @@ class AsyncRawCommentsClient:
|
|
|
712
712
|
headers=dict(_response.headers),
|
|
713
713
|
body=typing.cast(
|
|
714
714
|
Unauthorized,
|
|
715
|
-
|
|
715
|
+
construct_type(
|
|
716
716
|
type_=Unauthorized, # type: ignore
|
|
717
717
|
object_=_response.json(),
|
|
718
718
|
),
|
|
@@ -723,7 +723,7 @@ class AsyncRawCommentsClient:
|
|
|
723
723
|
headers=dict(_response.headers),
|
|
724
724
|
body=typing.cast(
|
|
725
725
|
Forbidden,
|
|
726
|
-
|
|
726
|
+
construct_type(
|
|
727
727
|
type_=Forbidden, # type: ignore
|
|
728
728
|
object_=_response.json(),
|
|
729
729
|
),
|
|
@@ -734,7 +734,7 @@ class AsyncRawCommentsClient:
|
|
|
734
734
|
headers=dict(_response.headers),
|
|
735
735
|
body=typing.cast(
|
|
736
736
|
NotFound,
|
|
737
|
-
|
|
737
|
+
construct_type(
|
|
738
738
|
type_=NotFound, # type: ignore
|
|
739
739
|
object_=_response.json(),
|
|
740
740
|
),
|
|
@@ -745,7 +745,7 @@ class AsyncRawCommentsClient:
|
|
|
745
745
|
headers=dict(_response.headers),
|
|
746
746
|
body=typing.cast(
|
|
747
747
|
typing.Optional[typing.Any],
|
|
748
|
-
|
|
748
|
+
construct_type(
|
|
749
749
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
750
750
|
object_=_response.json(),
|
|
751
751
|
),
|
|
@@ -756,7 +756,7 @@ class AsyncRawCommentsClient:
|
|
|
756
756
|
headers=dict(_response.headers),
|
|
757
757
|
body=typing.cast(
|
|
758
758
|
TooManyRequests,
|
|
759
|
-
|
|
759
|
+
construct_type(
|
|
760
760
|
type_=TooManyRequests, # type: ignore
|
|
761
761
|
object_=_response.json(),
|
|
762
762
|
),
|
|
@@ -771,7 +771,7 @@ class AsyncRawCommentsClient:
|
|
|
771
771
|
self, account_id: Uuid, comment_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
772
772
|
) -> AsyncHttpResponse[None]:
|
|
773
773
|
"""
|
|
774
|
-
Delete comment from an asset. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
774
|
+
Delete comment from an asset. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
775
775
|
|
|
776
776
|
Parameters
|
|
777
777
|
----------
|
|
@@ -801,7 +801,7 @@ class AsyncRawCommentsClient:
|
|
|
801
801
|
headers=dict(_response.headers),
|
|
802
802
|
body=typing.cast(
|
|
803
803
|
BadRequest,
|
|
804
|
-
|
|
804
|
+
construct_type(
|
|
805
805
|
type_=BadRequest, # type: ignore
|
|
806
806
|
object_=_response.json(),
|
|
807
807
|
),
|
|
@@ -812,7 +812,7 @@ class AsyncRawCommentsClient:
|
|
|
812
812
|
headers=dict(_response.headers),
|
|
813
813
|
body=typing.cast(
|
|
814
814
|
Unauthorized,
|
|
815
|
-
|
|
815
|
+
construct_type(
|
|
816
816
|
type_=Unauthorized, # type: ignore
|
|
817
817
|
object_=_response.json(),
|
|
818
818
|
),
|
|
@@ -823,7 +823,7 @@ class AsyncRawCommentsClient:
|
|
|
823
823
|
headers=dict(_response.headers),
|
|
824
824
|
body=typing.cast(
|
|
825
825
|
Forbidden,
|
|
826
|
-
|
|
826
|
+
construct_type(
|
|
827
827
|
type_=Forbidden, # type: ignore
|
|
828
828
|
object_=_response.json(),
|
|
829
829
|
),
|
|
@@ -834,7 +834,7 @@ class AsyncRawCommentsClient:
|
|
|
834
834
|
headers=dict(_response.headers),
|
|
835
835
|
body=typing.cast(
|
|
836
836
|
NotFound,
|
|
837
|
-
|
|
837
|
+
construct_type(
|
|
838
838
|
type_=NotFound, # type: ignore
|
|
839
839
|
object_=_response.json(),
|
|
840
840
|
),
|
|
@@ -845,7 +845,7 @@ class AsyncRawCommentsClient:
|
|
|
845
845
|
headers=dict(_response.headers),
|
|
846
846
|
body=typing.cast(
|
|
847
847
|
typing.Optional[typing.Any],
|
|
848
|
-
|
|
848
|
+
construct_type(
|
|
849
849
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
850
850
|
object_=_response.json(),
|
|
851
851
|
),
|
|
@@ -856,7 +856,7 @@ class AsyncRawCommentsClient:
|
|
|
856
856
|
headers=dict(_response.headers),
|
|
857
857
|
body=typing.cast(
|
|
858
858
|
TooManyRequests,
|
|
859
|
-
|
|
859
|
+
construct_type(
|
|
860
860
|
type_=TooManyRequests, # type: ignore
|
|
861
861
|
object_=_response.json(),
|
|
862
862
|
),
|
|
@@ -876,7 +876,7 @@ class AsyncRawCommentsClient:
|
|
|
876
876
|
request_options: typing.Optional[RequestOptions] = None,
|
|
877
877
|
) -> AsyncHttpResponse[CommentResponse]:
|
|
878
878
|
"""
|
|
879
|
-
Update comment on given asset. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
879
|
+
Update comment on given asset. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
880
880
|
|
|
881
881
|
Parameters
|
|
882
882
|
----------
|
|
@@ -914,7 +914,7 @@ class AsyncRawCommentsClient:
|
|
|
914
914
|
if 200 <= _response.status_code < 300:
|
|
915
915
|
_data = typing.cast(
|
|
916
916
|
CommentResponse,
|
|
917
|
-
|
|
917
|
+
construct_type(
|
|
918
918
|
type_=CommentResponse, # type: ignore
|
|
919
919
|
object_=_response.json(),
|
|
920
920
|
),
|
|
@@ -925,7 +925,7 @@ class AsyncRawCommentsClient:
|
|
|
925
925
|
headers=dict(_response.headers),
|
|
926
926
|
body=typing.cast(
|
|
927
927
|
BadRequest,
|
|
928
|
-
|
|
928
|
+
construct_type(
|
|
929
929
|
type_=BadRequest, # type: ignore
|
|
930
930
|
object_=_response.json(),
|
|
931
931
|
),
|
|
@@ -936,7 +936,7 @@ class AsyncRawCommentsClient:
|
|
|
936
936
|
headers=dict(_response.headers),
|
|
937
937
|
body=typing.cast(
|
|
938
938
|
Unauthorized,
|
|
939
|
-
|
|
939
|
+
construct_type(
|
|
940
940
|
type_=Unauthorized, # type: ignore
|
|
941
941
|
object_=_response.json(),
|
|
942
942
|
),
|
|
@@ -947,7 +947,7 @@ class AsyncRawCommentsClient:
|
|
|
947
947
|
headers=dict(_response.headers),
|
|
948
948
|
body=typing.cast(
|
|
949
949
|
Forbidden,
|
|
950
|
-
|
|
950
|
+
construct_type(
|
|
951
951
|
type_=Forbidden, # type: ignore
|
|
952
952
|
object_=_response.json(),
|
|
953
953
|
),
|
|
@@ -958,7 +958,7 @@ class AsyncRawCommentsClient:
|
|
|
958
958
|
headers=dict(_response.headers),
|
|
959
959
|
body=typing.cast(
|
|
960
960
|
NotFound,
|
|
961
|
-
|
|
961
|
+
construct_type(
|
|
962
962
|
type_=NotFound, # type: ignore
|
|
963
963
|
object_=_response.json(),
|
|
964
964
|
),
|
|
@@ -969,7 +969,7 @@ class AsyncRawCommentsClient:
|
|
|
969
969
|
headers=dict(_response.headers),
|
|
970
970
|
body=typing.cast(
|
|
971
971
|
typing.Optional[typing.Any],
|
|
972
|
-
|
|
972
|
+
construct_type(
|
|
973
973
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
974
974
|
object_=_response.json(),
|
|
975
975
|
),
|
|
@@ -980,7 +980,7 @@ class AsyncRawCommentsClient:
|
|
|
980
980
|
headers=dict(_response.headers),
|
|
981
981
|
body=typing.cast(
|
|
982
982
|
TooManyRequests,
|
|
983
|
-
|
|
983
|
+
construct_type(
|
|
984
984
|
type_=TooManyRequests, # type: ignore
|
|
985
985
|
object_=_response.json(),
|
|
986
986
|
),
|
|
@@ -1003,7 +1003,7 @@ class AsyncRawCommentsClient:
|
|
|
1003
1003
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1004
1004
|
) -> AsyncHttpResponse[CommentsWithIncludesResponse]:
|
|
1005
1005
|
"""
|
|
1006
|
-
List comments on a given asset. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
1006
|
+
List comments on a given asset. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
1007
1007
|
|
|
1008
1008
|
Parameters
|
|
1009
1009
|
----------
|
|
@@ -1050,7 +1050,7 @@ class AsyncRawCommentsClient:
|
|
|
1050
1050
|
if 200 <= _response.status_code < 300:
|
|
1051
1051
|
_data = typing.cast(
|
|
1052
1052
|
CommentsWithIncludesResponse,
|
|
1053
|
-
|
|
1053
|
+
construct_type(
|
|
1054
1054
|
type_=CommentsWithIncludesResponse, # type: ignore
|
|
1055
1055
|
object_=_response.json(),
|
|
1056
1056
|
),
|
|
@@ -1061,7 +1061,7 @@ class AsyncRawCommentsClient:
|
|
|
1061
1061
|
headers=dict(_response.headers),
|
|
1062
1062
|
body=typing.cast(
|
|
1063
1063
|
BadRequest,
|
|
1064
|
-
|
|
1064
|
+
construct_type(
|
|
1065
1065
|
type_=BadRequest, # type: ignore
|
|
1066
1066
|
object_=_response.json(),
|
|
1067
1067
|
),
|
|
@@ -1072,7 +1072,7 @@ class AsyncRawCommentsClient:
|
|
|
1072
1072
|
headers=dict(_response.headers),
|
|
1073
1073
|
body=typing.cast(
|
|
1074
1074
|
Unauthorized,
|
|
1075
|
-
|
|
1075
|
+
construct_type(
|
|
1076
1076
|
type_=Unauthorized, # type: ignore
|
|
1077
1077
|
object_=_response.json(),
|
|
1078
1078
|
),
|
|
@@ -1083,7 +1083,7 @@ class AsyncRawCommentsClient:
|
|
|
1083
1083
|
headers=dict(_response.headers),
|
|
1084
1084
|
body=typing.cast(
|
|
1085
1085
|
Forbidden,
|
|
1086
|
-
|
|
1086
|
+
construct_type(
|
|
1087
1087
|
type_=Forbidden, # type: ignore
|
|
1088
1088
|
object_=_response.json(),
|
|
1089
1089
|
),
|
|
@@ -1094,7 +1094,7 @@ class AsyncRawCommentsClient:
|
|
|
1094
1094
|
headers=dict(_response.headers),
|
|
1095
1095
|
body=typing.cast(
|
|
1096
1096
|
NotFound,
|
|
1097
|
-
|
|
1097
|
+
construct_type(
|
|
1098
1098
|
type_=NotFound, # type: ignore
|
|
1099
1099
|
object_=_response.json(),
|
|
1100
1100
|
),
|
|
@@ -1105,7 +1105,7 @@ class AsyncRawCommentsClient:
|
|
|
1105
1105
|
headers=dict(_response.headers),
|
|
1106
1106
|
body=typing.cast(
|
|
1107
1107
|
typing.Optional[typing.Any],
|
|
1108
|
-
|
|
1108
|
+
construct_type(
|
|
1109
1109
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1110
1110
|
object_=_response.json(),
|
|
1111
1111
|
),
|
|
@@ -1116,7 +1116,7 @@ class AsyncRawCommentsClient:
|
|
|
1116
1116
|
headers=dict(_response.headers),
|
|
1117
1117
|
body=typing.cast(
|
|
1118
1118
|
TooManyRequests,
|
|
1119
|
-
|
|
1119
|
+
construct_type(
|
|
1120
1120
|
type_=TooManyRequests, # type: ignore
|
|
1121
1121
|
object_=_response.json(),
|
|
1122
1122
|
),
|
|
@@ -1136,7 +1136,7 @@ class AsyncRawCommentsClient:
|
|
|
1136
1136
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1137
1137
|
) -> AsyncHttpResponse[CommentResponse]:
|
|
1138
1138
|
"""
|
|
1139
|
-
Create a comment on a file. <br><br>Rate Limits:
|
|
1139
|
+
Create a comment on a file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
1140
1140
|
|
|
1141
1141
|
Parameters
|
|
1142
1142
|
----------
|
|
@@ -1174,7 +1174,7 @@ class AsyncRawCommentsClient:
|
|
|
1174
1174
|
if 200 <= _response.status_code < 300:
|
|
1175
1175
|
_data = typing.cast(
|
|
1176
1176
|
CommentResponse,
|
|
1177
|
-
|
|
1177
|
+
construct_type(
|
|
1178
1178
|
type_=CommentResponse, # type: ignore
|
|
1179
1179
|
object_=_response.json(),
|
|
1180
1180
|
),
|
|
@@ -1185,7 +1185,7 @@ class AsyncRawCommentsClient:
|
|
|
1185
1185
|
headers=dict(_response.headers),
|
|
1186
1186
|
body=typing.cast(
|
|
1187
1187
|
BadRequest,
|
|
1188
|
-
|
|
1188
|
+
construct_type(
|
|
1189
1189
|
type_=BadRequest, # type: ignore
|
|
1190
1190
|
object_=_response.json(),
|
|
1191
1191
|
),
|
|
@@ -1196,7 +1196,7 @@ class AsyncRawCommentsClient:
|
|
|
1196
1196
|
headers=dict(_response.headers),
|
|
1197
1197
|
body=typing.cast(
|
|
1198
1198
|
Unauthorized,
|
|
1199
|
-
|
|
1199
|
+
construct_type(
|
|
1200
1200
|
type_=Unauthorized, # type: ignore
|
|
1201
1201
|
object_=_response.json(),
|
|
1202
1202
|
),
|
|
@@ -1207,7 +1207,7 @@ class AsyncRawCommentsClient:
|
|
|
1207
1207
|
headers=dict(_response.headers),
|
|
1208
1208
|
body=typing.cast(
|
|
1209
1209
|
Forbidden,
|
|
1210
|
-
|
|
1210
|
+
construct_type(
|
|
1211
1211
|
type_=Forbidden, # type: ignore
|
|
1212
1212
|
object_=_response.json(),
|
|
1213
1213
|
),
|
|
@@ -1218,7 +1218,7 @@ class AsyncRawCommentsClient:
|
|
|
1218
1218
|
headers=dict(_response.headers),
|
|
1219
1219
|
body=typing.cast(
|
|
1220
1220
|
NotFound,
|
|
1221
|
-
|
|
1221
|
+
construct_type(
|
|
1222
1222
|
type_=NotFound, # type: ignore
|
|
1223
1223
|
object_=_response.json(),
|
|
1224
1224
|
),
|
|
@@ -1229,7 +1229,7 @@ class AsyncRawCommentsClient:
|
|
|
1229
1229
|
headers=dict(_response.headers),
|
|
1230
1230
|
body=typing.cast(
|
|
1231
1231
|
typing.Optional[typing.Any],
|
|
1232
|
-
|
|
1232
|
+
construct_type(
|
|
1233
1233
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1234
1234
|
object_=_response.json(),
|
|
1235
1235
|
),
|
|
@@ -1240,7 +1240,7 @@ class AsyncRawCommentsClient:
|
|
|
1240
1240
|
headers=dict(_response.headers),
|
|
1241
1241
|
body=typing.cast(
|
|
1242
1242
|
TooManyRequests,
|
|
1243
|
-
|
|
1243
|
+
construct_type(
|
|
1244
1244
|
type_=TooManyRequests, # type: ignore
|
|
1245
1245
|
object_=_response.json(),
|
|
1246
1246
|
),
|