-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
Support decorated providers (again) #128
Conversation
Co-authored-by: Sunyoung Yoo <[email protected]>
41693d0
to
3b567bf
Compare
I added more tests and opened a PR into this branch: #132 |
#132 does not look like it would block this PR because it doesn't test anything new. |
No it won't... just wanted to target to this branch cuz it needed this update. |
More tests on ArgSpec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose we should make a bugfix release for this?
"P = ParamSpec('P')\n", | ||
"R = TypeVar('R')\n", | ||
"\n", | ||
"def deco(f: Callable[P R]) -> Callable[P, R]:\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a comma missing here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #134
Yes |
Fixes #127