Skip to content

Release v1.4.1

Compare
Choose a tag to compare
@raceychan raceychan released this 04 Feb 10:44
· 64 commits to master since this release

version 1.4.1

  • Ignored dependencies are not longer considered dependencies to ididi.
def test_ignore_dependences():
    dg = DependencyGraph()

    class User:
        def __init__(self, name: Ignore[str]): ...

    dg.node(User)

    assert len(dg.nodes[User].dependencies) == 0

In theory resolve time would be faster, but this should not have noticeable impact unless you use Ignore extensively.