File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1581,7 +1581,7 @@ def __init__(
15811581 project : ProjectEntity ,
15821582 folder : FolderEntity ,
15831583 backend_service : SuerannotateServiceProvider ,
1584- settings : BaseManageableRepository ,
1584+ settings : List [ ProjectSettingEntity ] ,
15851585 s3_repo ,
15861586 image_urls : List [str ],
15871587 image_names : List [str ] = None ,
@@ -1600,6 +1600,7 @@ def __init__(
16001600 self ._settings = settings
16011601 self ._auth_data = None
16021602
1603+
16031604 @property
16041605 def auth_data (self ):
16051606 if not self ._auth_data :
@@ -1745,6 +1746,7 @@ def execute(self):
17451746 image .entity for image in images_to_upload [i : i + 100 ]
17461747 ],
17471748 annotation_status = self ._annotation_status ,
1749+ upload_state_code = constances .UploadState .BASIC .value
17481750 ).execute ()
17491751 if response .errors :
17501752 continue
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ def upload_images_from_public_urls_to_project(
438438 backend_service = self ._backend_client ,
439439 settings = ProjectSettingsRepository (
440440 service = self ._backend_client , project = project
441- ),
441+ ). get_all () ,
442442 s3_repo = self .s3_repo ,
443443 image_quality_in_editor = image_quality_in_editor ,
444444 annotation_status = annotation_status ,
Original file line number Diff line number Diff line change 1- __version__ = "4.2.1b1 "
1+ __version__ = "4.2.1 "
You can’t perform that action at this time.
0 commit comments