File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/pytest-simcore/src/pytest_simcore/helpers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55
66import aiofiles
77import httpx
8+ import orjson
89from aws_library .s3 import MultiPartUploadLinks
9- from common_library .json_serialization import json_loads
1010from fastapi import status
1111from models_library .api_schemas_storage .storage_schemas import (
1212 ETag ,
@@ -71,7 +71,7 @@ async def upload_file_part(
7171 assert response .status_code == status .HTTP_200_OK
7272 assert response .headers
7373 assert "Etag" in response .headers
74- received_e_tag = json_loads (response .headers ["Etag" ])
74+ received_e_tag = orjson . loads (response .headers ["Etag" ])
7575 print (
7676 f"--> completed upload { this_file_chunk_size = } of { file = } , [{ part_index + 1 } /{ num_parts } ], { received_e_tag = } "
7777 )
You can’t perform that action at this time.
0 commit comments