`fab -d task` shows incorrect arguments when using @parallel @serial decorators #971

Closed
avishai-ish-shalom opened this Issue Aug 29, 2013 · 2 comments

Projects

None yet

3 participants

@avishai-ish-shalom

This is because the implementation of the decorator uses @wraps instead of @decorator which does not copy arguments metadata

@akitada
Contributor
akitada commented Dec 23, 2013

Apparently, decorators other than @serial and @task breaks argument list.

@mvk mvk pushed a commit to mvk/fabric that referenced this issue Mar 4, 2015
Max Kovgan WrappedCallableTask.__details__() support for multi-decorated objects
 - fixes fabric/fabric #971
 - fixes fabric/fabric #1032
68601ae
@bitprophet
Member

Rolling into #1286

@bitprophet bitprophet closed this Mar 9, 2015
@bitprophet bitprophet added a commit that referenced this issue Mar 9, 2015
@bitprophet Max Kovgan + bitprophet WrappedCallableTask.__details__() support for multi-decorated objects
 - fixes fabric/fabric #971
 - fixes fabric/fabric #1032
ada80be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment