The function signature when supplying parsl_resource_specification
is hacky
#2168
Labels
housekeeping
Things to tidy up that are otherwise kind of boring
What would you like to report?
quacc/src/quacc/wflow_tools/decorators.py
Lines 606 to 620 in c03110c
Here, we don't want to change the underlying function name so have patched
.__name__
of the wrapped function. This is hacky though and doesn't retain things like the original function signature or docstrings. In reality, we should be using something like@functools.wraps
but supposedly that does not result in theparsl_resource_specification
being retained.The text was updated successfully, but these errors were encountered: