You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warn_or_error doesn't send any event if an event is silenced
Suggested Tests
silence properly defaulted when instantiating WarnErrorOptions
can specify events for silence when instantiating WarnErrorOptions
specifying an invalid event name for silence when instantiating WarnErrorOptions raises an error
events that have been silenced never emit during warn_or_error
Impact to Other Teams
N/A
Will backports be required?
Depends if we're okay with doing this as a patch or a minor release. It's completely optional and additive, so I can't imagine it breaking anyone as patch release.
Housekeeping
Short description
In dbt-core we want to begin supporting
silence
as an option in WarnErrorOptions as described in dbt-labs/dbt-core#9644. About half of that work needs to be done here in dbt-common.Acceptance criteria
WarnErrorOptions
supportssilenced
warn_or_error
doesn't send any event if an event is silencedSuggested Tests
silence
properly defaulted when instantiatingWarnErrorOptions
silence
when instantiatingWarnErrorOptions
silence
when instantiatingWarnErrorOptions
raises an errorsilenced
never emit duringwarn_or_error
Impact to Other Teams
N/A
Will backports be required?
Depends if we're okay with doing this as a patch or a minor release. It's completely optional and additive, so I can't imagine it breaking anyone as patch release.
Context
See dbt-labs/dbt-core#9644
The text was updated successfully, but these errors were encountered: