I've noticed that the `from_conf` function has un...
# dev-metaflow
m
I've noticed that the
from_conf
function has unexpected behaviour when handling Boolean configurations. For example, the code
from_conf('SOME_CONFIG', default=False)
will return
True
for all settings of
METAFLOW_SOME_CONFIG
other than an empty string. The problem line seems to be here. I'm guess this is not the expected behaviour?
1
a
Good catch. I believe @dry-beach-38304 was looking into this
d
it should be merged shortly.
it will now handle 0/1 and true/false
m
awesome, thanks!
d
yes, this has been there for a really long time and it finally annoyed me enough to do the fix 🙂
😆 2