Closed albi3ro closed 2 weeks ago
Thanks! I cannot find
inspect
among the required packages, but looks like is already used everywhere in the source code
inspect
is a built in python package.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.67%. Comparing base (
9b3060f
) to head (073ba31
). Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Context:
Issue #5843 made me realize when we apply a transform to a qfunc callable, we should use
functools.wraps
to preserve the docstring and signature of the original function.Description of the Change:
Adds
functools.wraps
to the transformed qfunc.Benefits:
transformed qfunc's keep information about the original function.
Possible Drawbacks:
Related GitHub Issues:
Fixes #5843