Skip to content

Commit 43b55d0

Browse files
author
Val Brodsky
committed
Cleanup schemanode cleanup code
1 parent 61f8afe commit 43b55d0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

libs/labelbox/tests/conftest.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,23 +1164,9 @@ def teardown_project_labels_ontology_feature_schemas(project: Project):
11641164
classification_feature_schema_ids = [
11651165
feature["featureSchemaId"]
11661166
for feature in ontology.normalized["classifications"]
1167-
] + [
1168-
option["featureSchemaId"]
1169-
for feature in ontology.normalized["classifications"]
1170-
for option in feature.get("options", [])
11711167
]
1172-
11731168
tool_feature_schema_ids = [
11741169
feature["featureSchemaId"] for feature in ontology.normalized["tools"]
1175-
] + [
1176-
classification["featureSchemaId"]
1177-
for tool in ontology.normalized["tools"]
1178-
for classification in tool.get("classifications", [])
1179-
] + [
1180-
option["featureSchemaId"]
1181-
for tool in ontology.normalized["tools"]
1182-
for classification in tool.get("classifications", [])
1183-
for option in classification.get("options", [])
11841170
]
11851171

11861172
feature_schema_ids = classification_feature_schema_ids + tool_feature_schema_ids

0 commit comments

Comments
 (0)