We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22500b5 commit b397785Copy full SHA for b397785
1 file changed
google/genai/types.py
@@ -5407,10 +5407,10 @@ class GenerateContentConfigDict(TypedDict, total=False):
5407
]
5408
5409
5410
-ContentListUnion = Union[ContentUnion, list[ContentUnion]]
+ContentListUnion = Union[ContentUnion, Sequence[ContentUnion]]
5411
5412
5413
-ContentListUnionDict = Union[ContentUnionDict, list[ContentUnionDict]]
+ContentListUnionDict = Union[ContentUnionDict, Sequence[ContentUnionDict]]
5414
5415
5416
class _GenerateContentParameters(_common.BaseModel):
0 commit comments