Repository navigation
Releases: superannotateai/superannotate-python-sdk
Releases · superannotateai/superannotate-python-sdk
Release list
Improvements and bug fixes.
Merge pull request #897 from superannotateai/VaghinakDev-patch-4 Update __init__.py
Improvements and bug fixes.
v4.6.3dev1 Update get_team_metadate scoring
Improvements and bug fixes.
Added
- ``SAClient.generate_team_api_key()`` Generates a new API key for the specified team.
- ``SAClient.rotate_team_api_key()`` Generates a new active Team API Key while keeping the previous key valid for a configurable overlap period, enabling key rotation without downtime.
- ``SAClient.list_team_api_keys()`` Returns Team API Keys for the specified team.
- ``SAClient.revoke_team_api_key()`` Revokes a Team API Key that is in the Active or Rotating state.
- ``SAClient.explore`` Added a new namespace for working with Explore-related SDK functions.
- ``SAClient.explore.query()`` Returns items that satisfy a query string as a `QueryResult`, which behaves like a list of dictionaries and provides a `count()` method.
- ``SAClient.explore.query().count()`` Returns the subsets available in a project.
- ``SAClient.explore.get_subsets()`` Returns the subsets available in a project.
- ``SAClient.explore.add_items_to_subset()`` Associates items with a subset and creates the subset if it does not already exist.
Deprecated
- ``SAClient.query()`` and ``SAClient.query().count()`` Use ``SAClient.explore.query()``. Will be removed in 4.7.0.
- ``SAClient.get_subsets()`` Use ``SAClient.explore.get_subsets()``. Will be removed in 4.7.0.
- ``SAClient.add_items_to_subset()`` Use ``SAClient.explore.add_items_to_subset()``. Will be removed in 4.7.0.
Improvements and bug fixes.
Added
- ``SAORGClient`` New client for using an Organization API Key to perform organization-level operations across teams.
- ``SAORGClient.list_teams()`` Returns the teams in an organization.
- ``SAORGClient.get_team_client(team_id)`` Returns a SAClient instance for the specified team.
Updated
- ``SAClient()`` Added support for authentication with Organization API Keys by providing a `team_id`.
Improvements and bug fixes.
v4.6.1dev1 Update changelog
Improvements and bug fixes.
Added
- ``SAClient.grant_team_user_permissions()`` Grants permissions to a team user, with support for granting specific permissions or all available permissions based on the user's role.
- ``SAClient.revoke_team_user_permissions()`` Revokes permissions from a team user, with support for revoking specific permissions or all available permissions based on the user's role.
Updated
- ``SAClient.upload_annotations()`` Added the ``integration`` parameter to sign private external URLs when creating new items in Multimodal projects. The integration must already exist on SuperAnnotate and is supported only when ``data_spec="multimodal"``.
- ``SAClient(token=<API key>)`` Added support for authentication using both Personal API Keys and Team API Keys.
Removed
- ``SAClient.search_team_contributors()`` Recommended replacements: ``SAClient.get_item_metadata()`` or ``SAClient.list_items()``
- ``SAClient.search_items()`` Recommended replacements: ``SAClient.get_user_metadata()`` or ``SAClient.list_users()``
Improvements and bug fixes. Improvements and bug fixes.
Updated
- ``SAClient()`` Improved credential handling during client instantiation by providing a clearer error message when authentication credentials are missing, including both the SA_TOKEN environment variable and the expected configuration file location.
v4.5.8
v4.5.7
Improvements and bug fixes. Improvements and bug fixes.
Updated
- ``SAClient.create_project()`` Now support the ImageAutoAssignCount, ItemAutoAssignOrder , ImageAutoAssignByCategory settings.