Skip to content

Commit 36c12ae

Browse files
committed
dev9
1 parent ceff05b commit 36c12ae

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/superannotate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import sys
33

4-
__version__ = "4.4.2dev8"
4+
__version__ = "4.4.2dev9"
55

66
sys.path.append(os.path.split(os.path.realpath(__file__))[0])
77

src/superannotate/lib/infrastructure/services.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,6 @@ async def upload_annotations(
13761376
) -> UploadAnnotationsResponse:
13771377
url = urljoin(
13781378
self.assets_provider_url,
1379-
# "https://0ef1-178-160-196-42.ngrok.io/api/v1.01/",
13801379
(
13811380
f"{self.URL_UPLOAD_ANNOTATIONS}?{'&'.join(f'image_names[]={item_name}' for item_name in items_name_file_map.keys())}"
13821381
),
@@ -1387,8 +1386,7 @@ async def upload_annotations(
13871386
async with aiohttp.ClientSession(
13881387
headers=headers, connector=aiohttp.TCPConnector(ssl=self._verify_ssl)
13891388
) as session:
1390-
data = aiohttp.FormData()
1391-
1389+
data = aiohttp.FormData(quote_fields=False)
13921390
for key, file in items_name_file_map.items():
13931391
file.seek(0)
13941392
data.add_field(
@@ -1397,7 +1395,6 @@ async def upload_annotations(
13971395
filename=key,
13981396
content_type="application/json",
13991397
)
1400-
14011398
_response = await session.post(
14021399
url,
14031400
params={

0 commit comments

Comments
 (0)