Any string from environment variable casts to True
, even "false"
#1238
Unanswered
MartinBernstorff
asked this question in
Questions
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
MRE repo: https://github.com/MartinBernstorff/typer-false-envvar-repro
Description
I would expect an envvar with value
"false"
to be resolved toFalse
.Operating System
macOS
Operating System Details
No response
Typer Version
0.16.0
Python Version
Tested with 3.13, 3.12, 3.11
Additional Context
Thanks a ton for the work you guys do! Love Typer; hope this MRE is easy to follow.
Beta Was this translation helpful? Give feedback.
All reactions