|
3 | 3 | import sys |
4 | 4 |
|
5 | 5 | import requests |
6 | | -import superannotate.lib.core as constances |
7 | 6 | from packaging.version import parse |
| 7 | +from superannotate.lib import core as constances |
8 | 8 | from superannotate.lib import get_default_controller |
9 | 9 | from superannotate.lib.app.analytics.class_analytics import class_distribution |
10 | 10 | from superannotate.lib.app.exceptions import AppException |
|
21 | 21 | from superannotate.lib.app.interface.sdk_interface import aggregate_annotations_as_df |
22 | 22 | from superannotate.lib.app.interface.sdk_interface import assign_folder |
23 | 23 | from superannotate.lib.app.interface.sdk_interface import assign_images |
24 | | -from superannotate.lib.app.interface.sdk_interface import ( |
25 | | - attach_document_urls_to_project, |
26 | | -) |
27 | | -from superannotate.lib.app.interface.sdk_interface import attach_image_urls_to_project |
28 | 24 | from superannotate.lib.app.interface.sdk_interface import attach_items |
29 | 25 | from superannotate.lib.app.interface.sdk_interface import ( |
30 | 26 | attach_items_from_integrated_storage, |
31 | 27 | ) |
32 | | -from superannotate.lib.app.interface.sdk_interface import attach_video_urls_to_project |
33 | 28 | from superannotate.lib.app.interface.sdk_interface import benchmark |
34 | 29 | from superannotate.lib.app.interface.sdk_interface import clone_project |
35 | 30 | from superannotate.lib.app.interface.sdk_interface import consensus |
36 | 31 | from superannotate.lib.app.interface.sdk_interface import copy_image |
37 | | -from superannotate.lib.app.interface.sdk_interface import copy_images |
38 | 32 | from superannotate.lib.app.interface.sdk_interface import copy_items |
39 | 33 | from superannotate.lib.app.interface.sdk_interface import create_annotation_class |
40 | 34 | from superannotate.lib.app.interface.sdk_interface import ( |
|
68 | 62 | from superannotate.lib.app.interface.sdk_interface import get_team_metadata |
69 | 63 | from superannotate.lib.app.interface.sdk_interface import init |
70 | 64 | from superannotate.lib.app.interface.sdk_interface import invite_contributors_to_team |
71 | | -from superannotate.lib.app.interface.sdk_interface import move_images |
72 | 65 | from superannotate.lib.app.interface.sdk_interface import move_items |
73 | 66 | from superannotate.lib.app.interface.sdk_interface import pin_image |
74 | 67 | from superannotate.lib.app.interface.sdk_interface import prepare_export |
|
89 | 82 | set_project_default_image_quality_in_editor, |
90 | 83 | ) |
91 | 84 | from superannotate.lib.app.interface.sdk_interface import set_project_workflow |
92 | | -from superannotate.lib.app.interface.sdk_interface import share_project |
93 | 85 | from superannotate.lib.app.interface.sdk_interface import unassign_folder |
94 | 86 | from superannotate.lib.app.interface.sdk_interface import unassign_images |
95 | 87 | from superannotate.lib.app.interface.sdk_interface import ( |
|
154 | 146 | "search_projects", |
155 | 147 | "create_project", |
156 | 148 | "clone_project", |
157 | | - "share_project", |
158 | 149 | "delete_project", |
159 | 150 | "rename_project", |
160 | 151 | "upload_priority_scores", |
|
176 | 167 | "move_items", |
177 | 168 | "set_annotation_statuses", |
178 | 169 | # Image Section |
179 | | - "copy_images", |
180 | | - "move_images", |
181 | 170 | "delete_images", |
182 | 171 | "download_image", |
183 | 172 | "pin_image", |
|
189 | 178 | "upload_image_to_project", |
190 | 179 | "upload_image_annotations", |
191 | 180 | "upload_images_from_folder_to_project", |
192 | | - "attach_image_urls_to_project", |
193 | | - "attach_video_urls_to_project", |
194 | | - "attach_document_urls_to_project", |
195 | 181 | # Video Section |
196 | 182 | "upload_videos_from_folder_to_project", |
197 | 183 | # Annotation Section |
|
223 | 209 |
|
224 | 210 | __author__ = "Superannotate" |
225 | 211 |
|
226 | | -WORKING_DIR = os.path.split(os.path.realpath(__file__))[0] |
227 | | -sys.path.append(WORKING_DIR) |
| 212 | +sys.path.append(os.path.split(os.path.realpath(__file__))[0]) |
228 | 213 | logging.getLogger("botocore").setLevel(logging.CRITICAL) |
229 | 214 | logger = get_default_logger() |
230 | 215 |
|
|
0 commit comments