Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions bigframes/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,14 @@ def list(self) -> lists.ListAccessor:

@property
def blob(self) -> blob.BlobAccessor:
"""
Accessor for Blob operations.
"""
warnings.warn(
"The blob accessor is deprecated and will be removed in a future release.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use bigframes.bigquery.obj functions instead.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Updated the warning message to point to bigframes.bigquery.obj functions.

category=bfe.ApiDeprecationWarning,
stacklevel=2,
)
return blob.BlobAccessor(self)

@property
Expand Down
5 changes: 5 additions & 0 deletions bigframes/session/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2291,6 +2291,11 @@ def read_gbq_object_table(
bigframes.pandas.DataFrame:
Result BigFrames DataFrame.
"""
warnings.warn(
"read_gbq_object_table is deprecated and will be removed in a future release.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use read_gbq with "ref" column instead.

b/478950476

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Updated the warning message to suggest using read_gbq with the 'ref' column.

category=bfe.ApiDeprecationWarning,
stacklevel=2,
)
# TODO(garrettwu): switch to pseudocolumn when b/374988109 is done.
table = self.bqclient.get_table(object_table)
connection = table._properties["externalDataConfiguration"]["connectionId"]
Expand Down
Loading