Skip to content
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

Extend type forwarding to other context managers #903

Merged
merged 2 commits into from Mar 21, 2023
Merged

Extend type forwarding to other context managers #903

merged 2 commits into from Mar 21, 2023

Conversation

crutcher
Copy link
Contributor

It would be really nice to be able to use the various decorators without losing the type information of the decorated method.

Crutcher Dunnavant added 2 commits March 21, 2023 11:24
Signed-off-by: Crutcher Dunnavant <crutcher@openai.com>
Signed-of-by: Crutcher Dunnavant <crutcher@gmail.com>

Signed-off-by: Crutcher Dunnavant <crutcher@openai.com>
Copy link
Member

@csmarchbanks csmarchbanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@csmarchbanks csmarchbanks merged commit c48e26e into prometheus:master Mar 21, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants