Skip to content

Commit

Permalink
Revert "Update _get_exception_details"
Browse files Browse the repository at this point in the history
This reverts commit bbd47ca.
  • Loading branch information
tyler-hoffman committed Apr 25, 2024
1 parent 3bb485b commit 7968208
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/datasource/fluent/integration/test_sql_datasources.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,12 @@ def _get_exception_details(
]
]:
"""Extract a list of exception_info dicts from a CheckpointResult."""
first_run_result = next(iter(result.run_results.values()))
validation_results = first_run_result.results
validation_results: list[
dict[
Literal["exception_info", "expectation_config", "meta", "result", "success"],
dict,
]
] = next(iter(result.dict()["run_results"].values()))["validation_result"]["results"]
if prettyprint:
print(f"validation_result.results:\n{pf(validation_results, depth=2)}\n")

Expand Down

0 comments on commit 7968208

Please sign in to comment.