Closed svenrdz closed 1 hour ago
Resolves https://github.com/ESGF/esgf-download/issues/33
Fixes an issue with boolean config entries: setting it to either true or false from the CLI would make them evaluate to True since in python, conversion of x: str to bool is the same as len(x) > 0, so special handling is required.
true
false
True
x: str
bool
len(x) > 0
Resolves https://github.com/ESGF/esgf-download/issues/33
Fixes an issue with boolean config entries: setting it to either
true
orfalse
from the CLI would make them evaluate toTrue
since in python, conversion ofx: str
tobool
is the same aslen(x) > 0
, so special handling is required.