Skip to content

Commit

Permalink
Catch any tqdm errors during progress bar construction
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPaton committed Mar 23, 2019
1 parent d309212 commit c6efe1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigquery/google/cloud/bigquery/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ def _to_dataframe_tabledata_list(self, dtypes):
try:
from tqdm import tqdm
pbar = tqdm(desc="Downloading", total=self.total_rows, unit="rows")
except ImportError:
except (ImportError, KeyError, TypeError):
pbar = None

for page in iter(self.pages):
Expand Down

0 comments on commit c6efe1b

Please sign in to comment.