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
I'm open to solve this issue using a little hack related to python descriptors (https://docs.python.org/3/howto/descriptor.html#dynamic-lookups)
The point here is that the issue is on the self referice that got losed on creation (will be one option). Other option that we don't care at all of the self referince is to mimic what @property do witch is also backend by the python descriptors!
The Pipe decorator does not work on methods defined on a class.
This would be useful to make a pipe out of an existing method. As an example, I can do something like this:
But I would rather create a the Pipe at class level like this:
Could you add a recipe to make the Pipe class work with class methods?
The text was updated successfully, but these errors were encountered: