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.update_wrapper instead of wraps #12

Merged
merged 5 commits into from
Jan 4, 2024
Merged

Use functools.update_wrapper instead of wraps #12

merged 5 commits into from
Jan 4, 2024

Conversation

rec
Copy link
Owner

@rec rec commented Oct 11, 2023

No description provided.

@rec
Copy link
Owner Author

rec commented Oct 11, 2023

I'm not exactly sure how to trigger the negative behavior, do you have any examples @disrupted ?

@disrupted
Copy link
Contributor

this also has the same effect as #11. The signature of the decorated function is lost. This is with Pyright LSP and hover over the get_keys call.

Pyright

@rec rec merged commit 5b224ae into main Jan 4, 2024
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.

2 participants