-
-
Notifications
You must be signed in to change notification settings - Fork 407
Allow deep_iterable member validator to accept a list of validators
#925
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
Merged
hynek
merged 17 commits into
python-attrs:main
from
vedantpuri:vp-deep-iterable-and-validator
Mar 20, 2022
Merged
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
20a7a64
Add Multiple Validators to deep iterable
vedantpuri afd7597
Add Tests + Fix some doc strings
vedantpuri 60b3a9f
Update typing
vedantpuri b4ecfa2
Limit this PR to only accepting a list of member validators
vedantpuri 348e75b
Merge branch 'main' into vp-deep-iterable-and-validator
hynek 7b46542
Merge branch 'main' into vp-deep-iterable-and-validator
hynek e3adee0
Merge branch 'main' into vp-deep-iterable-and-validator
hynek 5f9446b
Respond to PR comments
vedantpuri 6e2c524
Commit missing file
vedantpuri fd5777e
Apply suggestions from code review
vedantpuri a21d8e6
Split other test too
vedantpuri 797ce29
Merge branch 'vp-deep-iterable-and-validator' of github.com:vedantpur…
vedantpuri d55a093
Merge branch 'main' into vp-deep-iterable-and-validator
hynek 6fc6f5d
Fix CI + Remove Weird parens
vedantpuri 18d1e58
Merge branch 'vp-deep-iterable-and-validator' of github.com:vedantpur…
vedantpuri 62e2e6a
Use and_ instead of And_
vedantpuri c7933ec
Add tuple to list of tests
vedantpuri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ``attrs.validators.deep_iterable()``'s *member_validator* argument now also accepts a list of validators and wraps them in an ``attrs.validators.and_()``. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.