Skip to content

Commit 19bc556

Browse files
author
Val Brodsky
committed
Make tool type optional in the base class
1 parent 7183412 commit 19bc556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def from_dict(cls, dictionary: Dict[str, Any]) -> "_Definition":
7070
@dataclass
7171
class _BaseStepReasoningTool:
7272
name: str
73-
type: ToolType
7473
definition: _Definition
74+
type: Optional[ToolType] = None
7575
schema_id: Optional[str] = None
7676
feature_schema_id: Optional[str] = None
7777
color: Optional[str] = None

0 commit comments

Comments
 (0)