Create folder

To create a folder:

sa.create_folder(
    project = "Project Name",
    folder_name = "Folder Name")
superannotatecli create-folder --project “Project Name” --name “Folder Name”

Delete folder

To delete a list of folders:

sa.delete_folders(
    project = "Project Name",
    folder_names = ["Folder 1", "Folder 2"])

Search folders

To get all the folders in a project:

sa.search_folders(project = "Project Name")

To get folders whose names contain a given keyword:

sa.search_folders(
    project = "Project Name", 
    folder_name = "Car")

Did this page help you?