Skip to content

Commit 41104a1

Browse files
author
Val Brodsky
committed
Update to support create_ontology_from_feature_schemas
1 parent 6f29459 commit 41104a1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

libs/labelbox/src/labelbox/schema/ontology.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -492,10 +492,6 @@ def add_classification(self, classification: Classification) -> None:
492492

493493
def tool_cls_from_type(tool_type: str):
494494
if tool_type.lower() == ToolType.STEP_REASONING.value:
495-
from labelbox.schema.tool_building.step_reasoning_tool import (
496-
StepReasoningTool,
497-
)
498-
499495
return StepReasoningTool
500496
return Tool
501497

@@ -539,12 +535,6 @@ def __init__(self, *args, **kwargs) -> None:
539535
Union[List[Classification], List[PromptResponseClassification]]
540536
] = None
541537

542-
def _tool_deserializer_cls(self, tool: Dict[str, Any]) -> Tool:
543-
import pdb
544-
545-
pdb.set_trace()
546-
return Tool
547-
548538
def tools(self) -> List[Tool]:
549539
"""Get list of tools (AKA objects) in an Ontology."""
550540
if self._tools is None:

0 commit comments

Comments
 (0)