You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**metadata** | **object** | object describing metadata about the annotation, such as software used or descriptions of the keys used in the annotation. | [optional]
9
-
**annotation_csv** | **str** | annotation object expressed as a CSV |
10
8
**name** | **str** | Descriptive name for the annotation. | [optional]
11
9
**description** | **str** | Long form description of the annotation. | [optional]
**note_keys** | **object** | The keys (columns) in the annotation and the key's respective data type (such as an integer or string). | [optional]
13
12
**pipelines** | [**List[AnnotationPipelineExtensionPipelinesInner]**](AnnotationPipelineExtensionPipelinesInner.md) | Optional pipeline descriptors used to populate annotation notes with feature columns. Each entry should include the pipeline name and the list of columns to import, along with optional version and config id. | [optional]
error_messages.append(f"Error! Input type `{type(v)}` is not `AnnotationReturnOneOf`")
64
-
else:
65
-
match+=1
66
61
# validate data type: AnnotationRequestOneOf
67
62
ifnotisinstance(v, AnnotationRequestOneOf):
68
63
error_messages.append(f"Error! Input type `{type(v)}` is not `AnnotationRequestOneOf`")
69
64
else:
70
65
match+=1
66
+
# validate data type: AnnotationReturnOneOf
67
+
ifnotisinstance(v, AnnotationReturnOneOf):
68
+
error_messages.append(f"Error! Input type `{type(v)}` is not `AnnotationReturnOneOf`")
69
+
else:
70
+
match+=1
71
71
ifmatch>1:
72
72
# more than 1 match
73
73
raiseValueError("Multiple matches found when setting `actual_instance` in AnnotationRequest with oneOf schemas: AnnotationRequestOneOf, AnnotationReturnOneOf. Details: "+", ".join(error_messages))
0 commit comments