Skip to content

Commit 0e10bb2

Browse files
committed
Revert "Address CR comment"
This reverts commit 3fcfce9.
1 parent 3fcfce9 commit 0e10bb2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libs/labelbox/src/labelbox/schema/tool_building/tool_type_mapping.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@
66
StepReasoningTool,
77
)
88
from labelbox.schema.tool_building.tool_type import ToolType
9-
from labelbox.schema.ontology import Tool
10-
from labelbox.schema.tool_building.relationship_tool import RelationshipTool
119

1210

1311
def map_tool_type_to_tool_cls(tool_type_str: str):
14-
# Relationship tool uses a legacy tool type, so we need to handle it separately.
15-
if tool_type_str.lower() == Tool.Type.RELATIONSHIP:
16-
return RelationshipTool()
17-
1812
if not ToolType.valid(tool_type_str):
1913
return None
2014

0 commit comments

Comments
 (0)