Skip to content

Commit

Permalink
[BUGFIX] Fix DraftDatasourceConfigAction connection string substituti…
Browse files Browse the repository at this point in the history
…on (#8613)

Co-authored-by: Josh Stauffer <josh@greatexpectations.io>
  • Loading branch information
joshua-stauffer and joshua-stauffer authored Aug 24, 2023
1 parent 73ac871 commit e4567d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def run(self, event: DraftDatasourceConfigEvent, id: str) -> ActionResult:
"DraftDatasourceConfigAction received an unknown datasource type."
) from exc
datasource = datasource_cls(**draft_config)
datasource._data_context = self._context
datasource.test_connection(
test_assets=True
) # raises `TestConnectionError` on failure
Expand Down

0 comments on commit e4567d9

Please sign in to comment.