Skip to content

remove **kwargs from PVSystem, ModelChain, Location #1029

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

Closed
wholmgren opened this issue Aug 25, 2020 · 0 comments · Fixed by #1053
Closed

remove **kwargs from PVSystem, ModelChain, Location #1029

wholmgren opened this issue Aug 25, 2020 · 0 comments · Fixed by #1053
Labels
Milestone

Comments

@wholmgren
Copy link
Member

These objects accept arbitrary kwargs so that users can be lazy about splatting dictionaries into the object constructors. I guess this is nice in some situations. But it also leads to bugs when users mistype a parameter name because python doesn't raise an exception. I ran into this when working on #1022 and #1027.

I propose that we remove the kwargs without deprecation in 0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment