Should functions check to see if boolean inputs are actually boolean? #2320
williamhobbs
started this conversation in
General
Replies: 2 comments 9 replies
-
We |
Beta Was this translation helpful? Give feedback.
8 replies
-
Is there perhaps an inherent benefit in having default values be |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that passing
in
pvlib.tracking.singleaxis()
results in backtracking being included. Should this, and other functions, check to make sure that boolean inputs are actually boolean and not a string that is not being interpreted as the user might have expected?I'm guessing this is a general Python best practices question, but I honestly don't know.
Beta Was this translation helpful? Give feedback.
All reactions