Skip to content

Commit 067528d

Browse files
committed
small fix for old python
1 parent 4eb1467 commit 067528d

File tree

1 file changed

+1
-1
lines changed
  • src/yandex_cloud_ml_sdk/_tools

1 file changed

+1
-1
lines changed

src/yandex_cloud_ml_sdk/_tools/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def _from_upper_proto(cls, proto: ProtoToolTypeT, sdk: SDKType) -> BaseTool:
5151
raise NotImplementedError('tools other then search_index and function are not supported in this SDK version')
5252

5353

54-
ProtoFunctionTool = Union[ProtoCompletionsFunctionTool | ProtoAssistantsFunctionTool]
54+
ProtoFunctionTool = Union[ProtoCompletionsFunctionTool, ProtoAssistantsFunctionTool]
5555

5656

5757
@dataclass(frozen=True)

0 commit comments

Comments
 (0)