on_warning_callback for source freshness #914
Labels
area:config
Related to configuration, like YAML files, environment variables, or executer configuration
customer request
An Astronomer customer made requested this
dbt:source
Primarily related to dbt source command or functionality
good first issue
Good for newcomers
triage-needed
Items need to be reviewed / assigned to milestone
Milestone
It would be good to make the
on_warning_callback
argument available for thesource freshness
command since, similarly to the test command, you can configure the severity (see freshness), and you might need to use a callback to send notifications for the "warn_after" cases or to store its results.It looks like a similar work to the one done for the test command (Creating on_warning_callback arg for better warning management) might be done.
I mention @CorsettiS, as he is the original author of this feature for the test command, and it would be good know his opinion on this.
The text was updated successfully, but these errors were encountered: