Skip to content

anytree.config.ASSERTIONS does not work if set manually #279

@kayjan

Description

@kayjan

The assertions are hard coded to False (already pre-imported from env var) and unable to set to True if I want it to be enabled, following the docs https://anytree.readthedocs.io/en/latest/tricks/consistencychecks.html

Image

From my experience, if it helps, the only way to set it is through environment variables before importing anytree :) Perhaps the documentation can be updated

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