Skip to content

Using Environmental Variable to set a flag to an empty string #16

@johnlockwood-wf

Description

@johnlockwood-wf

One of the caveats of using an env var to override what is set in the ini is that it is ignored if you want to make the flag an empty string. I am trying to come up with a way to make this possible.
I think an enhancement to globalconf is the place it should be instead of requiring the programmer to come up with some non-empty-string that means empty-string.
Perhaps have a pattern like EMPTY_ENVPREFIX_FLAG_NAME=true. What do you think?
I'd be happy to make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions