Skip to content

Commit dc00ae2

Browse files
committed
Fix list_tables type error
1 parent ef3f61a commit dc00ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybigquery/sqlalchemy_bigquery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def get_table_names(self, connection, schema=None, **kw):
189189
for d in datasets:
190190
if schema is not None and d.dataset_id != schema:
191191
continue
192-
tables = connection.connection._client.list_dataset_tables(d)
192+
tables = connection.connection._client.list_dataset_tables(d.reference)
193193
for t in tables:
194194
result.append(d.dataset_id + '.' + t.table_id)
195195
return result

0 commit comments

Comments
 (0)