Release v1.4.1
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.