File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ async def copy_objects_recursively(
473473 limit = _MAX_CONCURRENT_COPY ,
474474 )
475475
476- async def get_object_data_stream (
476+ async def get_object_stream_data (
477477 self ,
478478 bucket_name : S3BucketName ,
479479 object_key : S3ObjectKey ,
Original file line number Diff line number Diff line change @@ -1409,7 +1409,7 @@ async def test_read_object_file_stream(
14091409 tmp_file_name : Path ,
14101410):
14111411 async with aiofiles .open (tmp_file_name , "wb" ) as f :
1412- stream_data = await simcore_s3_api .get_object_data_stream (
1412+ stream_data = await simcore_s3_api .get_object_stream_data (
14131413 with_s3_bucket , with_uploaded_file_on_s3 .s3_key , chunk_size = 1024
14141414 )
14151415 assert isinstance (stream_data .data_size , DataSize )
@@ -1428,7 +1428,7 @@ async def test_upload_object_from_file_stream(
14281428 with_s3_bucket : S3BucketName ,
14291429):
14301430 object_key = "read_from_s3_write_to_s3"
1431- stream_data = await simcore_s3_api .get_object_data_stream (
1431+ stream_data = await simcore_s3_api .get_object_stream_data (
14321432 with_s3_bucket , with_uploaded_file_on_s3 .s3_key
14331433 )
14341434 assert isinstance (stream_data .data_size , DataSize )
@@ -1576,7 +1576,7 @@ async def test_workflow_compress_s3_objects_and_local_files_in_a_single_archive_
15761576 archive_file_entries .append (
15771577 (
15781578 s3_object_key ,
1579- await simcore_s3_api .get_object_data_stream (
1579+ await simcore_s3_api .get_object_stream_data (
15801580 with_s3_bucket , s3_object_key
15811581 ),
15821582 )
You can’t perform that action at this time.
0 commit comments