We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In case a validation error happens, user must want to avoid raising exception but just log and keep program working with defaults.
field: Annotated[str, OnFailure(log=logger,quiet=True, take_default=True)] = "Foo"
In case field is configured as 123 instead of raising validation error, logs the validation error and set the default value instead.
123
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In case a validation error happens, user must want to avoid raising exception but just log and keep program working with defaults.
In case field is configured as
123
instead of raising validation error, logs the validation error and set the default value instead.The text was updated successfully, but these errors were encountered: