Method
Imports annotation labels from csv file. All valid values in the file will be imported as labels (including header row if present).
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.
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) |
|
TYPE |
WHEN |
DataNotFoundError |
featureGroupId is not found.
|