(name, default)
return int(value)
Parses the env variable, accepts ints and literal None
Parses the env variable, accepts ints and literal None
Parses the env variable accepts ints and literal None
def get_intOrNone(name, default):
    """Parses the env variable, accepts ints and literal None"""
    value = os.getenv(name, str(default))
    if value.lower() == "none":
        return None
    return int(value)
def get_intOrNone ( name , default ) : value = os . getenv ( name , str ( default ) ) if value . lower ( ) == "none" : return None return int ( value )