Skip to content

Improve make_transform_adapt docstring #234

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jessegrabowski
Copy link
Member

This PR does two things:

  1. I added a minimial docstring to make_transform_adapt to give a basic outline of each parameter (as I understand them), and try to explain situations in which they will not be respected.
  2. I added a @wraps(make_transform_adapt) decorator to PyFuncModel.with_transform_adapter to expose this docstring there as well. This is the primary entrypoint to the transform adapt functionality for users, so it's important that help(PyFuncModel.with_transform_adapter) gives back something.

There are several parameters I marked with ??? because I don't really know what they do. @aseyboldt I'm happy to fill them out if you can give me a thumbnail sketch of what they do

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