File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
services/storage/src/simcore_service_storage/utils Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 99MULTIPART_COPY_THRESHOLD : Final [ByteSize ] = TypeAdapter (ByteSize ).validate_python (
1010 "100MiB"
1111)
12- STREAM_REDER_CHUNK : Final [ByteSize ] = TypeAdapter (ByteSize ).validate_python ("10MiB" )
12+ STREAM_READER_CHUNK_SIZE : Final [ByteSize ] = TypeAdapter (ByteSize ).validate_python (
13+ "10MiB"
14+ )
1315
1416PRESIGNED_LINK_MAX_SIZE : Final [ByteSize ] = TypeAdapter (ByteSize ).validate_python ("5GiB" )
1517S3_MAX_FILE_SIZE : Final [ByteSize ] = TypeAdapter (ByteSize ).validate_python ("5TiB" )
Original file line number Diff line number Diff line change 2828from aws_library .s3 ._client import _AWS_MAX_ITEMS_PER_PAGE , S3ObjectKey , SimcoreS3API
2929from aws_library .s3 ._constants import (
3030 MULTIPART_UPLOADS_MIN_TOTAL_SIZE ,
31- STREAM_REDER_CHUNK ,
31+ STREAM_READER_CHUNK_SIZE ,
3232)
3333from aws_library .s3 ._errors import (
3434 S3BucketInvalidError ,
@@ -1902,7 +1902,7 @@ async def test_workflow_compress_s3_objects_and_local_files_in_a_single_archive_
19021902 get_zip_bytes_iter (
19031903 archive_entries ,
19041904 progress_bar = progress_bar ,
1905- chunk_size = STREAM_REDER_CHUNK ,
1905+ chunk_size = STREAM_READER_CHUNK_SIZE ,
19061906 )
19071907 ),
19081908 )
Original file line number Diff line number Diff line change 44
55import orjson
66from aws_library .s3 import S3MetaData , SimcoreS3API
7- from aws_library .s3 ._constants import STREAM_REDER_CHUNK
7+ from aws_library .s3 ._constants import STREAM_READER_CHUNK_SIZE
88from models_library .api_schemas_storage .storage_schemas import S3BucketName
99from models_library .projects import ProjectID
1010from models_library .projects_nodes_io import (
@@ -173,7 +173,7 @@ async def create_and_upload_export(
173173 get_zip_bytes_iter (
174174 archive_entries ,
175175 progress_bar = progress_bar ,
176- chunk_size = STREAM_REDER_CHUNK ,
176+ chunk_size = STREAM_READER_CHUNK_SIZE ,
177177 )
178178 ),
179179 )
You can’t perform that action at this time.
0 commit comments