@@ -65,7 +65,7 @@ class SAClient(BaseInterfaceFacade, metaclass=TrackableMeta):
6565 def __init__ (
6666 self ,
6767 token : str = None ,
68- config_path : str = constants . CONFIG_PATH ,
68+ config_path : str = None ,
6969 ):
7070 super ().__init__ (token , config_path )
7171
@@ -2669,7 +2669,7 @@ def set_annotation_statuses(
26692669 self ,
26702670 project : Union [NotEmptyStr , dict ],
26712671 annotation_status : AnnotationStatuses ,
2672- item_names : Optional [List [NotEmptyStr ]] = None ,
2672+ items : Optional [List [NotEmptyStr ]] = None ,
26732673 ):
26742674 """Sets annotation statuses of items
26752675
@@ -2686,15 +2686,15 @@ def set_annotation_statuses(
26862686 :type annotation_status: str
26872687
26882688 :param items: item names to set the mentioned status for. If None, all the items in the project will be used.
2689- :type items: str
2689+ :type items: list of strs
26902690 """
26912691
26922692 project_name , folder_name = extract_project_folder (project )
26932693 response = self .controller .set_annotation_statuses (
26942694 project_name = project_name ,
26952695 folder_name = folder_name ,
26962696 annotation_status = annotation_status ,
2697- item_names = item_names ,
2697+ item_names = items ,
26982698 )
26992699 if response .errors :
27002700 raise AppException (response .errors )
0 commit comments