Skip to content

New plugin hook: get_function_signature_hook #9101

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

Closed
sobolevn opened this issue Jul 6, 2020 · 1 comment · Fixed by #9102
Closed

New plugin hook: get_function_signature_hook #9101

sobolevn opened this issue Jul 6, 2020 · 1 comment · Fixed by #9102

Comments

@sobolevn
Copy link
Member

sobolevn commented Jul 6, 2020

  • Are you reporting a bug, or opening a feature request?

I am proposing a new feature: get_function_signature_hook
It works the same way as get_method_signature_hook, but for functions.

I needed this while working on HKT for dry-python/returns: dry-python/returns#446

msullivan added a commit that referenced this issue Oct 18, 2020
This PR introduces get_function_signature_hook that behaves the similar way as get_method_signature_hook.

Closes #9101

Co-authored-by: Michael Sullivan <sully@msully.net>
@sobolevn
Copy link
Member Author

Thanks a lot! @msullivan

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 a pull request may close this issue.

1 participant