Skip to content
This repository was archived by the owner on Feb 22, 2021. It is now read-only.
This repository was archived by the owner on Feb 22, 2021. It is now read-only.

App-level environment variables are oddly order-specific #66

@coderanger

Description

@coderanger

From poise/application_python#84

Because of how app_state gets initialized and ||=, setting the environment property after that will have no effect. I should probably work out a better late-binding option for this.

Workaround for now is to just set the environment property very early, before anything uses the app state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions