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

Add defaultdict support #222

Merged
merged 4 commits into from
Jan 23, 2024

Conversation

andiserg
Copy link
Member

Issue #216

tests/unit/morphing/test_dict_provider.py Outdated Show resolved Hide resolved
src/adaptix/_internal/morphing/facade/provider.py Outdated Show resolved Hide resolved
src/adaptix/_internal/morphing/facade/provider.py Outdated Show resolved Hide resolved
tests/unit/morphing/test_dict_provider.py Show resolved Hide resolved
src/adaptix/_internal/morphing/dict_provider.py Outdated Show resolved Hide resolved
src/adaptix/_internal/morphing/dict_provider.py Outdated Show resolved Hide resolved
src/adaptix/_internal/morphing/facade/provider.py Outdated Show resolved Hide resolved
add pred argument to defaultdict provider high-level factory, refactor annotations, formatting code
@andiserg andiserg requested a review from zhPavel January 22, 2024 09:16
@zhPavel
Copy link
Member

zhPavel commented Jan 22, 2024

The code is quite good now. But there is need a documentation at specific-types-behavior.rst file. Desciption should contain link to function that can be used to override default_factory

@zhPavel
Copy link
Member

zhPavel commented Jan 22, 2024

It is also necessary to add a fragment of the changelog with a description of the new feature.
You can find instruction to creating such fragments in docs/changelog/fragments/README.rst

@zhPavel zhPavel merged commit 8002be8 into reagento:develop Jan 23, 2024
9 checks passed
@andiserg andiserg deleted the feature/defaultdict_support branch February 4, 2024 16:07
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