Skip to content

Commit b397785

Browse files
committed
fix: types.ContentListUnion and types.ContentListUnionDict type hint
1 parent 22500b5 commit b397785

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
@@ -5407,10 +5407,10 @@ class GenerateContentConfigDict(TypedDict, total=False):
54075407
]
54085408

54095409

5410-
ContentListUnion = Union[ContentUnion, list[ContentUnion]]
5410+
ContentListUnion = Union[ContentUnion, Sequence[ContentUnion]]
54115411

54125412

5413-
ContentListUnionDict = Union[ContentUnionDict, list[ContentUnionDict]]
5413+
ContentListUnionDict = Union[ContentUnionDict, Sequence[ContentUnionDict]]
54145414

54155415

54165416
class _GenerateContentParameters(_common.BaseModel):

0 commit comments

Comments
 (0)