Skip to content

Commit 0d76475

Browse files
fix polars import error catch
1 parent b599d81 commit 0d76475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigframes/pandas/io/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def _read_gbq_colab(
361361
bigframes._importing.import_polars()
362362
warnings.simplefilter("ignore", bigframes.exceptions.PreviewWarning)
363363
config.options.bigquery.enable_polars_execution = True
364-
except TypeError:
364+
except ImportError:
365365
pass # don't fail if polars isn't available
366366

367367
return global_session.with_default_session(

0 commit comments

Comments
 (0)