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

Return type(self) from _cast and __deepcopy__ methods #115

Closed
FilippoLippi opened this issue Sep 14, 2022 · 2 comments
Closed

Return type(self) from _cast and __deepcopy__ methods #115

FilippoLippi opened this issue Sep 14, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@FilippoLippi
Copy link

To be able to subclass benedict without redefining _cast and deepcopy
it would be nice if these methods return instances of class type(self) instead of class benedict

@FilippoLippi FilippoLippi added the enhancement New feature or request label Sep 14, 2022
fabiocaccamo added a commit that referenced this issue Sep 15, 2022
fabiocaccamo added a commit that referenced this issue Oct 9, 2022
@fabiocaccamo
Copy link
Owner

@FilippoLippi you can upgrade to 0.27.0 version.

@FilippoLippi
Copy link
Author

thanks @fabiocaccamo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants