Custom Metadata Feature. Improvements and Bug Fixes.
Added
SAClient.create_custom_fields()method to create/add new custom fields to a project’s custom field schema.SAClient.get_custom_fields()method to get a project’s custom field schema.SAClient.delete_custom_fields()method to remove existing custom fields from a project’s custom field schema.SAClient.upload_custom_values()method to attach custom field-value pairs to items.SAClient.delete_custom_values()method to remove custom field-value pairs from items.
Updated
- the schema of
classes JSONto support the new"default_value"key to set a default attribute(s) for a given attribute group. SAClient.get_item_metadata()method to add a new input argumentinclude_custom_metadatato return custom metadata in the result items.SAClient.search_items()method to add a new input argumentinclude_custom_metadatato return custom metadata in the result items.SAClient.query()method to return custom metadata in the result items.
Fixed
SAClientclass to address the system crash that occurs on instantiation viaconfig.jsonfile.SAClient.query()method to address the issue of not returning more than 50 items.SAClient.upload_annotations_from_folder_to_project()to address the issue of some fields not being auto populated after the upload is finished.SAClient.get_folder_metadata(),SAClient.search_folders()to address the issue of transforming the ‘+’ sign in a folder to a whitespace.
Removed
superannotate.assign_images()function. Please use theSAClient.assign_items()method instead.superannotate.unassign_images()function. Please use theSAClient.unassign_items()method instead.superannotate.delete_images()function. Please use theSAClient.delete_items()method instead.