Skip to content

Commit

Permalink
BUGFIX: fix DraftDatasourceConfigAction
Browse files Browse the repository at this point in the history
  • Loading branch information
TrangPham committed Dec 21, 2024
1 parent 2220f6b commit e110b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions great_expectations_cloud/agent/actions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ def get_table_names(datasource: SQLDatasource) -> list[str]:
# Or if the role does not have access to the schema (it silently fails and defaults to using default_schema)
# See https://github.com/snowflakedb/snowflake-sqlalchemy/blob/e78319725d4b96ea205ef1264b744c65eb37853d/src/snowflake/sqlalchemy/snowdialect.py#L731
# Explicitly passing the schema to the inspector to get the table names
return inspector.get_table_names(schema=datasource.schema_)
return list(inspector.get_table_names(schema=datasource.schema_))

return inspector.get_table_names()
return list(inspector.get_table_names())

0 comments on commit e110b49

Please sign in to comment.