Skip to content

Commit 2cd5a58

Browse files
authored
mypy fix
1 parent 96d644c commit 2cd5a58

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
@@ -5403,10 +5403,10 @@ class GenerateContentConfigDict(TypedDict, total=False):
54035403
]
54045404

54055405

5406-
ContentListUnion = Union[ContentUnion, list[ContentUnion]]
5406+
ContentListUnion = Union[ContentUnion, Sequence[ContentUnion]]
54075407

54085408

5409-
ContentListUnionDict = Union[ContentUnionDict, list[ContentUnionDict]]
5409+
ContentListUnionDict = Union[ContentUnionDict, Sequence[ContentUnionDict]]
54105410

54115411

54125412
class _GenerateContentParameters(_common.BaseModel):

0 commit comments

Comments
 (0)