@@ -219,11 +219,11 @@ def upload_blob_s3(
219219 method : str = "POST" ,
220220 storage_uri_key : str = "storageUri" ,
221221 ):
222- """Generic method to upload data to S3 storage and create the appropriate resource
223- in the backend.
222+ """Generic method to upload data to S3 storage and create the appropriate
223+ resource in the backend.
224224 """
225225 presigned_json = self .post_request (
226- f"/ storage/presigned-url?objectName={ object_name } "
226+ f"storage/presigned-url?objectName={ object_name } "
227227 )
228228
229229 with tqdm (
@@ -272,7 +272,7 @@ def upload_blob_gcs(
272272 appropriate resource in the backend.
273273 """
274274 presigned_json = self .post_request (
275- f"/ storage/presigned-url?objectName={ object_name } "
275+ f"storage/presigned-url?objectName={ object_name } "
276276 )
277277 with open (file_path , "rb" ) as f :
278278 with tqdm (
@@ -311,7 +311,7 @@ def upload_blob_azure(
311311 appropriate resource in the backend.
312312 """
313313 presigned_json = self .post_request (
314- f"/ storage/presigned-url?objectName={ object_name } "
314+ f"storage/presigned-url?objectName={ object_name } "
315315 )
316316 with open (file_path , "rb" ) as f :
317317 with tqdm (
@@ -349,11 +349,11 @@ def transfer_blob(
349349 method : str = "POST" ,
350350 storage_uri_key : str = "storageUri" ,
351351 ):
352- """Generic method to transfer data to the openlayer folder and create the appropriate
353- resource in the backend when using a local deployment.
352+ """Generic method to transfer data to the openlayer folder and create the
353+ appropriate resource in the backend when using a local deployment.
354354 """
355355 presigned_json = self .post_request (
356- f"/ storage/presigned-url?objectName={ object_name } "
356+ f"storage/presigned-url?objectName={ object_name } "
357357 )
358358 blob_path = presigned_json ["storageUri" ].replace ("local://" , "" )
359359 dir_path = os .path .dirname (blob_path )
0 commit comments