We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ca16f commit 79337baCopy full SHA for 79337ba
tests/integration/test_ontology.py
@@ -1,6 +1,6 @@
1
import pytest
2
3
-from labelbox import OntologyBuilder
+from labelbox import OntologyBuilder, MediaType
4
from labelbox.orm.model import Entity
5
import json
6
import time
@@ -62,7 +62,7 @@ def test_ontology_create_read(client, rand_gen):
62
}
63
feature_schema = client.create_feature_schema(feature_schema_cat_normalized)
64
created_ontology = client.create_ontology_from_feature_schemas(
65
- name=ontology_name, feature_schema_ids=[feature_schema.uid])
+ name=ontology_name, feature_schema_ids=[feature_schema.uid], media_type=MediaType.Image)
66
tool_normalized = created_ontology.normalized['tools'][0]
67
for k, v in feature_schema_cat_normalized.items():
68
assert tool_normalized[k] == v
0 commit comments