Skip to content

Commit e706577

Browse files
committed
fix: types.ContentListUnion and types.ContentListUnionDict type hint
1 parent f16142b commit e706577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/genai/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5405,10 +5405,10 @@ class GenerateContentConfigDict(TypedDict, total=False):
54055405
]
54065406

54075407

5408-
ContentListUnion = Union[ContentUnion, list[ContentUnion]]
5408+
ContentListUnion = Union[ContentUnion, Sequence[ContentUnion]]
54095409

54105410

5411-
ContentListUnionDict = Union[ContentUnionDict, list[ContentUnionDict]]
5411+
ContentListUnionDict = Union[ContentUnionDict, Sequence[ContentUnionDict]]
54125412

54135413

54145414
class _GenerateContentParameters(_common.BaseModel):

0 commit comments

Comments
 (0)