Skip to content

Commit 7f38e55

Browse files
qiaodevcopybara-github
authored andcommitted
docs: fix Blob type docstring.
PiperOrigin-RevId: 718560558
1 parent fe82e10 commit 7f38e55

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

google/genai/types.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -494,10 +494,7 @@ class FunctionResponseDict(TypedDict, total=False):
494494

495495

496496
class Blob(_common.BaseModel):
497-
"""Content blob.
498-
499-
It's preferred to send as text directly rather than raw bytes.
500-
"""
497+
"""Content blob."""
501498

502499
data: Optional[bytes] = Field(
503500
default=None, description="""Required. Raw bytes."""
@@ -509,10 +506,7 @@ class Blob(_common.BaseModel):
509506

510507

511508
class BlobDict(TypedDict, total=False):
512-
"""Content blob.
513-
514-
It's preferred to send as text directly rather than raw bytes.
515-
"""
509+
"""Content blob."""
516510

517511
data: Optional[bytes]
518512
"""Required. Raw bytes."""

0 commit comments

Comments
 (0)