Skip to content
New issue

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

relax require_one #472

Merged
merged 1 commit into from
Sep 10, 2024
Merged

relax require_one #472

merged 1 commit into from
Sep 10, 2024

Conversation

PhilTaken
Copy link
Member

the require_one method would always raise a SilentConfigurationError on an empty list even if strict==False. Returning None in that case is more appropriate

@PhilTaken PhilTaken requested a review from zagy as a code owner September 6, 2024 10:00
Copy link
Member

@zagy zagy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog please.

the require_one method would always raise a SilentConfigurationError on
an empty list even if strict==False. Returning None in that case is
more appropriate
@zagy zagy merged commit 3f10a8a into main Sep 10, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants