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

Use functools.wraps to preserve handler signature #3287

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

ordabayevy
Copy link
Member

@ordabayevy ordabayevy commented Oct 24, 2023

#3285 didn't fix the issue of the _make_handler function not preserving the signature of the handler. This PR fixes it by using functools.wraps as explained here.

+ small typo fix

Confirmed it by locally building the docs:

Screenshot 2023-10-24 at 1 45 52 PM

@fritzo fritzo merged commit 23e6470 into dev Oct 24, 2023
9 checks passed
@ordabayevy ordabayevy deleted the preserve-handler-signature branch October 24, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants