-
-
Notifications
You must be signed in to change notification settings - Fork 120
Extract use_alias from converter by default #660
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
Tinche
merged 10 commits into
python-attrs:main
from
AdrianSosic:feature/use_alias_config
Jun 26, 2025
Merged
Extract use_alias from converter by default #660
Tinche
merged 10 commits into
python-attrs:main
from
AdrianSosic:feature/use_alias_config
Jun 26, 2025
Conversation
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
AdrianSosic
commented
Jun 24, 2025
3515bf7
to
df95f3e
Compare
AdrianSosic
commented
Jun 24, 2025
df95f3e
to
29f6adb
Compare
Looks good, don't forget the changelog entry. |
AdrianSosic
commented
Jun 24, 2025
AdrianSosic
commented
Jun 24, 2025
Tinche
requested changes
Jun 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will also need a small test that tests the value is actually taken from the converter. Maybe in test_converters
?
AdrianSosic
commented
Jun 25, 2025
Changelog looks good, I always set it to unreleased too. |
AdrianSosic
added a commit
to emdgroup/baybe
that referenced
this pull request
Jun 25, 2025
Tinche
approved these changes
Jun 25, 2025
Great job, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Based on the discussion in #596, adds a
use_alias
argument toConverter
(similar to `forbid_extra_keys') whose value is taken as default when structuring/unstructuring without specifying the corresponding argument to the method calls.