These are chat archives for evhub/coconut
@mpjoseca_twitter The problem with
data is that when you use
data, you make the class immutable, but the way
__init__ works it mutates the instance after creation, which means it won't work. Instead, either use a normal
class, or the
__new__ special method (see datamaker). If you go the
__new__ route, you will also have to explicitly get rid of the base class
__init__ which is trying to mutate the object by adding something like
def __init__(self): pass.
As for pipelining multiple arguments, you can just use the
|*> operator. See pipeline.