Skip to content

Commit e9e7316

Browse files
committed
Docs versin change
1 parent 4801ecf commit e9e7316

File tree

7 files changed

+21
-16
lines changed

7 files changed

+21
-16
lines changed

docs/source/superannotate.sdk.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Project metadata example:
152152
{
153153
"name": "Example Project test",
154154
"description": "test vector",
155-
"creator_id": "hovnatan@superannotate.com",
155+
"creator_id": "admin@superannotate.com",
156156
"updatedAt": "2020-08-31T05:43:43.118Z",
157157
"createdAt": "2020-08-31T05:43:43.118Z"
158158
"type": "Vector",
@@ -174,8 +174,8 @@ Export metadata example:
174174
.. code-block:: python
175175
176176
{
177-
"name": "Aug 17 2020 15:44 Hovnatan.zip",
178-
"user_id": "hovnatan@gmail.com",
177+
"name": "Aug 17 2020 15:44 First Name.zip",
178+
"user_id": "user@gmail.com",
179179
"status": 2,
180180
"createdAt": "2020-08-17T11:44:26.000Z",
181181
"...": "..."
@@ -184,6 +184,7 @@ Export metadata example:
184184
185185
----------
186186

187+
187188
Integration metadata
188189
_______________
189190

@@ -200,6 +201,7 @@ Integration metadata example:
200201
201202
----------
202203

204+
203205
Item metadata
204206
_______________
205207

@@ -217,11 +219,11 @@ Item metadata example:
217219
"entropy_value": None,
218220
"createdAt": "2022-02-15T20:46:44.000Z",
219221
"updatedAt": "2022-02-15T20:46:44.000Z"
220-
}
221-
222+
}
222223
223224
----------
224225

226+
225227
Image metadata
226228
_______________
227229

@@ -304,10 +306,10 @@ Team contributor metadata example:
304306
.. code-block:: python
305307
306308
{
307-
"id": "hovnatan@superannotate.com",
308-
"first_name": "Hovnatan",
309-
"last_name": "Karapetyan",
310-
"email": "hovnatan@superannotate.com",
309+
"id": "admin@superannotate.com",
310+
"first_name": "First Name",
311+
"last_name": "Last Name",
312+
"email": "admin@superannotate.com",
311313
"user_role": 6
312314
"...": "...",
313315
}

docs/source/tutorial.sdk.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,15 +388,15 @@ A team contributor can be invited to the team with:
388388

389389
.. code-block:: python
390390
391-
sa.invite_contributors_to_team(emails=["hovnatan@superannotate.com"], admin=False)
391+
sa.invite_contributors_to_team(emails=["admin@superannotate.com"], admin=False)
392392
393393
394394
This invitation should be accepted by the contributor. After which, to share the
395395
project with the found contributor as an QA:
396396

397397
.. code-block:: python
398398
399-
sa.share_project(project, "hovnatan@superannotate.com", user_role="QA")
399+
sa.share_project(project, "admin@superannotate.com", user_role="QA")
400400
401401
402402

requirements_dev.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
superannotate_schemas>=1.0.41dev1
1+
superannotate_schemas>=1.0.41b1
2+

requirements_extra.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Sphinx==3.1.2
1+
Sphinx==3.5.4
22
tox==3.24.2
33
pytest==6.2.4
44
pytest-xdist==2.3.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
description='Python SDK to SuperAnnotate platform',
3131
license='MIT',
3232
author='SuperAnnotate AI',
33-
author_email='hovnatan@superannotate.com',
33+
author_email='vaghinak@superannotate.com',
3434
url='https://github.com/superannotateai/superannotate-python-sdk',
3535
long_description=readme,
3636
long_description_content_type='text/markdown',

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2970,6 +2970,7 @@ def attach_items_from_integrated_storage(
29702970
29712971
:param folder_path: Points to an exact folder/directory within given storage.
29722972
If None, items are fetched from the root directory.
2973+
29732974
:type folder_path: str
29742975
"""
29752976
project_name, folder_name = extract_project_folder(project)

tests/integration/folders/test_folders.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66

77
import src.superannotate as sa
88
from tests.integration.base import BaseTestCase
9+
from tests import DATA_SET_PATH
910

1011
import pytest
1112

1213

1314
class TestFolders(BaseTestCase):
1415
PROJECT_NAME = "test folders"
15-
TEST_FOLDER_PATH = "data_set/sample_project_vector"
16+
TEST_FOLDER_PATH = "sample_project_vector"
1617
PROJECT_DESCRIPTION = "desc"
1718
PROJECT_TYPE = "Vector"
1819
SPECIAL_CHARS = "/\:*?“<>|"
@@ -27,7 +28,7 @@ class TestFolders(BaseTestCase):
2728

2829
@property
2930
def folder_path(self):
30-
return os.path.join(dirname(dirname(__file__)), self.TEST_FOLDER_PATH)
31+
return os.path.join(DATA_SET_PATH, self.TEST_FOLDER_PATH)
3132

3233
@property
3334
def classes_json(self):

0 commit comments

Comments
 (0)