@@ -172,7 +172,7 @@ def upload_blob_s3(
172172 )
173173 if res .ok :
174174 body ["storageUri" ] = presigned_json ["storageUri" ]
175- return self .post_request (f"{ endpoint } ?id= { presigned_json [ 'id' ] } " , body = body )
175+ return self .post_request (f"{ endpoint } " , body = body )
176176 else :
177177 self ._raise_on_respose (res )
178178
@@ -199,7 +199,7 @@ def upload_blob_gcs(
199199 )
200200 if res .ok :
201201 body ["storageUri" ] = presigned_json ["storageUri" ]
202- return self .post_request (f"{ endpoint } ?id= { presigned_json [ 'id' ] } " , body = body )
202+ return self .post_request (f"{ endpoint } " , body = body )
203203 else :
204204 self ._raise_on_respose (res )
205205
@@ -229,7 +229,7 @@ def upload_blob_azure(
229229 )
230230 if res .ok :
231231 body ["storageUri" ] = presigned_json ["storageUri" ]
232- return self .post_request (f"{ endpoint } ?id= { presigned_json [ 'id' ] } " , body = body )
232+ return self .post_request (f"{ endpoint } " , body = body )
233233 else :
234234 self ._raise_on_respose (res )
235235
@@ -245,4 +245,4 @@ def transfer_blob(self, endpoint: str, file_path: str, object_name: str, body=No
245245 raise UnboxException (f"Directory { blob_path } cannot be created" )
246246 shutil .copyfile (file_path , f"{ blob_path } /{ object_name } " )
247247 body ["storageUri" ] = f"local://{ blob_path } "
248- return self .post_request (f"{ endpoint } ?id= { id } " , body = body )
248+ return self .post_request (f"{ endpoint } " , body = body )
0 commit comments