great_expectations icon indicating copy to clipboard operation
great_expectations copied to clipboard

[MAINTENANCE] Ensure that validation definitions and checkpoints save before running

Open cdkini opened this issue 9 months ago • 2 comments

Ensure that ValidationDefinition and Checkpoint persist themselves to their respective stores at the start of their run methods (if they haven't already been saved). This will ensure that invariably, we will have references to them in the DB and ensure that any foreign keys generated in the result object will point to real data.

  • [x] Description of PR changes above includes a link to an existing GitHub issue
  • [x] PR title is prefixed with one of: [BUGFIX], [FEATURE], [DOCS], [MAINTENANCE], [CONTRIB]
  • [x] Code is linted - run invoke lint (uses ruff format + ruff check)
  • [x] Appropriate tests and docs have been updated

For more information about contributing, see Contribute.

After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!

cdkini avatar May 23 '24 16:05 cdkini