|
20 | 20 | from typing import Optional, Tuple, Union |
21 | 21 | from typing_extensions import Annotated |
22 | 22 | from rapidata.api_client.models.get_asset_metadata_result import GetAssetMetadataResult |
23 | | -from rapidata.api_client.models.upload_file_from_url_result import UploadFileFromUrlResult |
24 | 23 | from rapidata.api_client.models.upload_file_result import UploadFileResult |
25 | 24 |
|
26 | 25 | from rapidata.api_client.api_client import ApiClient, RequestSerialized |
@@ -601,7 +600,7 @@ def asset_url_post( |
601 | 600 | _content_type: Optional[StrictStr] = None, |
602 | 601 | _headers: Optional[Dict[StrictStr, Any]] = None, |
603 | 602 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, |
604 | | - ) -> UploadFileFromUrlResult: |
| 603 | + ) -> UploadFileResult: |
605 | 604 | """Uploads a single asset to S3 and returns the asset details. |
606 | 605 |
|
607 | 606 | This endpoint allows uploading a single file to S3 storage with the asset creator. The uploaded asset will be stored using the configured S3 settings and a unique filename will be generated. |
@@ -639,7 +638,7 @@ def asset_url_post( |
639 | 638 | ) |
640 | 639 |
|
641 | 640 | _response_types_map: Dict[str, Optional[str]] = { |
642 | | - '200': "UploadFileFromUrlResult", |
| 641 | + '200': "UploadFileResult", |
643 | 642 | } |
644 | 643 | response_data = self.api_client.call_api( |
645 | 644 | *_param, |
@@ -668,7 +667,7 @@ def asset_url_post_with_http_info( |
668 | 667 | _content_type: Optional[StrictStr] = None, |
669 | 668 | _headers: Optional[Dict[StrictStr, Any]] = None, |
670 | 669 | _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, |
671 | | - ) -> ApiResponse[UploadFileFromUrlResult]: |
| 670 | + ) -> ApiResponse[UploadFileResult]: |
672 | 671 | """Uploads a single asset to S3 and returns the asset details. |
673 | 672 |
|
674 | 673 | This endpoint allows uploading a single file to S3 storage with the asset creator. The uploaded asset will be stored using the configured S3 settings and a unique filename will be generated. |
@@ -706,7 +705,7 @@ def asset_url_post_with_http_info( |
706 | 705 | ) |
707 | 706 |
|
708 | 707 | _response_types_map: Dict[str, Optional[str]] = { |
709 | | - '200': "UploadFileFromUrlResult", |
| 708 | + '200': "UploadFileResult", |
710 | 709 | } |
711 | 710 | response_data = self.api_client.call_api( |
712 | 711 | *_param, |
@@ -773,7 +772,7 @@ def asset_url_post_without_preload_content( |
773 | 772 | ) |
774 | 773 |
|
775 | 774 | _response_types_map: Dict[str, Optional[str]] = { |
776 | | - '200': "UploadFileFromUrlResult", |
| 775 | + '200': "UploadFileResult", |
777 | 776 | } |
778 | 777 | response_data = self.api_client.call_api( |
779 | 778 | *_param, |
|
0 commit comments