You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a functools.partial instance as a node output, we internally check inspect.isroutine on the output and if this is not true, we subtract 1 from the length of the argument list because we assume the first argument is self. However, functools.partial instances apparently do not register as routines, but do not have a self argument.
Describe the bug
When using a
functools.partial
instance as a node output, we internally checkinspect.isroutine
on the output and if this is not true, we subtract 1 from the length of the argument list because we assume the first argument isself
. However,functools.partial
instances apparently do not register as routines, but do not have aself
argument.To reproduce
A minimal code snippet to reproduce the behavior:
Expected behavior
This should work. (e.g. should be able to probe node
u
above and gett + 3
as the output.Error message and logs
The text was updated successfully, but these errors were encountered: