Skip to content

Commit 02fa3d9

Browse files
committed
Fix get_big_annotation
1 parent fcafaa8 commit 02fa3d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/superannotate/lib/infrastructure/services/annotation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ async def get_big_annotation(
124124
"annotation_type": "MAIN",
125125
"version": "V1.00",
126126
}
127-
127+
if transform_version:
128+
query_params["transform_version"] = transform_version
128129
await self._sync_large_annotation(
129130
team_id=project.team_id,
130131
project_id=project.id,
131132
item_id=item.id,
132133
transform_version=transform_version,
133134
)
134-
135135
async with AIOHttpSession(
136136
connector=aiohttp.TCPConnector(ssl=False),
137137
headers=self.client.default_headers,

0 commit comments

Comments
 (0)