diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a7e81912..ad118c393 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: build-n-publish: name: Build and publish Python 🐍 distributions 📦 to PyPI - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Set up Python diff --git a/src/superannotate/__init__.py b/src/superannotate/__init__.py index 6127fd2a9..02c9d0bf2 100644 --- a/src/superannotate/__init__.py +++ b/src/superannotate/__init__.py @@ -3,7 +3,7 @@ import sys -__version__ = "4.4.33dev3" +__version__ = "4.4.33dev4" os.environ.update({"sa_version": __version__}) diff --git a/src/superannotate/lib/core/entities/base.py b/src/superannotate/lib/core/entities/base.py index 24f947cad..17d4826d8 100644 --- a/src/superannotate/lib/core/entities/base.py +++ b/src/superannotate/lib/core/entities/base.py @@ -57,6 +57,7 @@ class TimedBaseModel(BaseModel): class BaseItemEntity(TimedBaseModel): id: Optional[int] name: Optional[str] + folder_id: Optional[int] path: Optional[str] = Field( None, description="Item’s path in SuperAnnotate project" ) diff --git a/tests/integration/items/test_get_item_metadata.py b/tests/integration/items/test_get_item_metadata.py index e95d77046..413772d9a 100644 --- a/tests/integration/items/test_get_item_metadata.py +++ b/tests/integration/items/test_get_item_metadata.py @@ -20,6 +20,7 @@ class TestGetEntityMetadataVector(BaseTestCase): EXPECTED_ITEM_METADATA = { "name": "example_image_1.jpg", "path": "TestGetEntityMetadataVector", + "folder_id": None, "url": None, "annotator_email": None, "qa_email": None,