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.
2 parents 0f91d2f + 67af004 commit 1229ee5Copy full SHA for 1229ee5
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