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

Set avoid_class_mutation to True everywhere #187

Open
NielsPichon opened this issue May 12, 2023 · 0 comments
Open

Set avoid_class_mutation to True everywhere #187

NielsPichon opened this issue May 12, 2023 · 0 comments

Comments

@NielsPichon
Copy link

NielsPichon commented May 12, 2023

Question

I came across the avoid_class_mutation kwarg in the definition of _make_configurable.

When would it be best to use one or the other option?

This parameter is also not exposed to the register and configurable decorators and has different defaults there (True for register, False for configurable). Is there a reason for it? Maybe it'd be good to expose it at least give the choice to the user ?

Thanks

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

No branches or pull requests

1 participant