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

Update output_transformer to work with docs. Add output_transformer_simple #936

Closed
wants to merge 3 commits into from

Conversation

schloerke
Copy link
Collaborator

@schloerke schloerke commented Dec 22, 2023

WIP, but very exciting that pylance supports passing through documentation if the decorator returns a single Callable type (not a callable class, union of Callable, or overloaded function).

Therefore, if we can return a single Callable, the docs can be transferred through and the pkg author does not need to type out overloads manually.

@schloerke schloerke self-assigned this Dec 22, 2023
@schloerke
Copy link
Collaborator Author

Closing in favor of #964

@schloerke schloerke closed this Jan 4, 2024
@schloerke schloerke deleted the output_transformer_w_docs branch January 4, 2024 21:47
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.

1 participant