We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From the docs:
name_targets() does not preserve the name of the decorated function, so the name of the target must be provided as a parameter to add_target().
name_targets()
add_target()
This can be avoided by assigning wrap.func_name = func.func_name in the name_targets source.
wrap.func_name = func.func_name
name_targets
The text was updated successfully, but these errors were encountered:
Sure. (might try functools.wraps
On Fri, Oct 4, 2013 at 2:40 PM, Christopher Small [email protected]:
From the docs: name_targets() does not preserve the name of the decorated function, so the name of the target must be provided as a parameter to add_target(). This can be avoided by assigning wrap.func_name = func.func_name in the name_targets source. — Reply to this email directly or view it on GitHubhttps://github.com//issues/19 .
— Reply to this email directly or view it on GitHubhttps://github.com//issues/19 .
Connor McCoy Fred Hutchinson Cancer Research Center 1100 Fairview Ave N. Seattle, WA 98109-1924 [email protected]
Sorry, something went wrong.
No branches or pull requests
From the docs:
This can be avoided by assigning
wrap.func_name = func.func_name
in thename_targets
source.The text was updated successfully, but these errors were encountered: