Skip to content

Commit 33e1d4e

Browse files
committed
chore: suppress future warning
1 parent 4bf00da commit 33e1d4e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bigframes/display/anywidget.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def __init__(self, dataframe: bigframes.dataframe.DataFrame):
117117
if all(isinstance(col, str) for col in dataframe.columns):
118118
with warnings.catch_warnings():
119119
warnings.simplefilter("ignore", bigframes.exceptions.JSONDtypeWarning)
120+
warnings.simplefilter("ignore", category=FutureWarning)
120121
self.orderable_columns = [
121122
str(col_name)
122123
for col_name, dtype in dataframe.dtypes.items()

bigframes/display/html.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ def repr_mimebundle(
368368
warnings.simplefilter(
369369
"ignore", category=bigframes.exceptions.JSONDtypeWarning
370370
)
371+
warnings.simplefilter("ignore", category=FutureWarning)
371372
return get_anywidget_bundle(obj, include=include, exclude=exclude)
372373
except ImportError:
373374
# Anywidget is an optional dependency, so warn rather than fail.

0 commit comments

Comments
 (0)