We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. The issue described in #31 and fixed in #40 still arises in some cases.
This:
import punq class A: pass class B: def __init__(self, a: A, x: int | None = None): pass container = punq.Container() container.register(A) container.register(B) container.resolve(B)
will still raise:
punq.MissingDependencyError: Failed to resolve implementation for int | None
(version 0.7.0)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi. The issue described in #31 and fixed in #40 still arises in some cases.
This:
will still raise:
(version 0.7.0)
The text was updated successfully, but these errors were encountered: