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

Function composition should preserve the signature of the first function when possible #744

Closed
evhub opened this issue May 19, 2023 · 0 comments

Comments

@evhub
Copy link
Owner

evhub commented May 19, 2023

We want

inspect.signature(f ..> g) == inspect.signature(f)

to hold, which can be done via functools.wraps.

@evhub evhub added this to the v3.0.1 milestone May 19, 2023
evhub added a commit that referenced this issue May 20, 2023
@evhub evhub added the resolved label May 20, 2023
@evhub evhub closed this as completed May 20, 2023
@evhub evhub mentioned this issue May 24, 2023
evhub added a commit that referenced this issue May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant