Skip to content

Commit 0e21127

Browse files
committed
Fix mypy errors in anywidget.py
1 parent e4e04b8 commit 0e21127

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/bigframes/bigframes/display/anywidget.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,14 +307,14 @@ def _apply_execution_result(self) -> None:
307307
self.start_execution = False
308308
else:
309309
self._dataframe = result.df_to_set
310-
self.orderable_columns = result.orderable_cols
310+
self.orderable_columns = result.orderable_cols or []
311311
self._batches = result.batches
312312
self._batch_iter = result.batch_iter
313-
self._cached_batches = result.cached_batches
313+
self._cached_batches = result.cached_batches or []
314314
self._all_data_loaded = result.all_data_loaded
315315
self._last_sort_state = _SortState((), ())
316316
self.row_count = result.total_rows
317-
self.table_html = result.initial_html
317+
self.table_html = result.initial_html or ""
318318
self.is_deferred_mode = False
319319
self.start_execution = False
320320

0 commit comments

Comments
 (0)