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 3fcfce9 commit 0e10bb2Copy full SHA for 0e10bb2
libs/labelbox/src/labelbox/schema/tool_building/tool_type_mapping.py
@@ -6,15 +6,9 @@
6
StepReasoningTool,
7
)
8
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
11
12
13
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
-
18
if not ToolType.valid(tool_type_str):
19
return None
20
0 commit comments