Skip to content

Commit 1d76a03

Browse files
committed
Fix Python 3.9 compatibility for union type hint
1 parent f1a6f71 commit 1d76a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/oci/tests/integration_tests/chat_models/test_gemini_tool_calling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from langchain_oci.chat_models import ChatOCIGenAI
4141

4242

43-
def _content_to_str(content: str | list) -> str:
43+
def _content_to_str(content: "str | list") -> str:
4444
"""Convert message content to string for assertions.
4545
4646
AIMessage.content can be str or list[str | dict], so we need to

0 commit comments

Comments
 (0)