Method
importAnnotationLabels POST
Copy POST

Imports annotation labels from csv file. All valid values in the file will be imported as labels (including header row if present).

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes featureGroupId str The unique string identifier of the feature group.
Yes file cgi.FieldStorage The file to import. Must be a csv file.
Yes annotationType str The type of the annotation.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result AnnotationConfig
KEY TYPE Description
featureAnnotationConfigs list List of feature annotation configs
labels list List of labels
statusFeature str Name of the feature that contains the status of the annotation (Optional)
commentsFeatures list Features that contain comments for the annotation (Optional)
metadataFeature str Name of the feature that contains the metadata for the annotation (Optional)

Exceptions:

TYPE WHEN
DataNotFoundError

featureGroupId is not found.

Language: