File tree Expand file tree Collapse file tree 3 files changed +4
-32
lines changed
Expand file tree Collapse file tree 3 files changed +4
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1579,7 +1579,7 @@ def __init__(
15791579 project : ProjectEntity ,
15801580 folder : FolderEntity ,
15811581 backend_service : SuerannotateServiceProvider ,
1582- settings : BaseManageableRepository ,
1582+ settings : List [ ProjectSettingEntity ] ,
15831583 s3_repo ,
15841584 image_urls : List [str ],
15851585 image_names : List [str ] = None ,
@@ -1598,6 +1598,7 @@ def __init__(
15981598 self ._settings = settings
15991599 self ._auth_data = None
16001600
1601+
16011602 @property
16021603 def auth_data (self ):
16031604 if not self ._auth_data :
@@ -1743,6 +1744,7 @@ def execute(self):
17431744 image .entity for image in images_to_upload [i : i + 100 ]
17441745 ],
17451746 annotation_status = self ._annotation_status ,
1747+ upload_state_code = constances .UploadState .BASIC .value
17461748 ).execute ()
17471749 if response .errors :
17481750 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 ,
You can’t perform that action at this time.
0 commit comments