We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f91d2f commit 67af004Copy full SHA for 67af004
bigquery/client.py
@@ -1264,7 +1264,7 @@ def get_all_tables(self, dataset_id):
1264
tables_data = self._get_all_tables_for_dataset(dataset_id)
1265
1266
tables = []
1267
- for table in tables_data['tables']:
+ for table in tables_data.get('tables', []):
1268
table_name = table.get('tableReference', {}).get('tableId')
1269
if table_name:
1270
tables.append(table_name)
0 commit comments