Releases: pwwang/pipen
Releases · pwwang/pipen
0.7.0
- ⬆️ Update liquidpy to 0.8
- ✨ Add
Proc.__meta__
that will not be inherited when subclassing - 🎨 Put
procgroup
inProc.__meta__
- ⚡️ Do not mutate
Proc.__doc__
when subclassing - ⚡️ Use mro to detect parent class of a Proc
What's Changed
Full Changelog: 0.6.4...0.7.0
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
-
➖ Remove more-itertools
-
✨ Add
ProcGroup
to manage groups of processes.from pipen import Proc, ProcGroup class MyGroup(ProcGroup): @ProcGroup.add_proc def my_proc(self): class MyProc(Proc): ... return MyProc @ProcGroup.add_proc def my_proc2(self): class MyProc2(Proc): requires = self.my_proc ... return MyProc2 pg = MyGroup() # Run as a pipeline pg.as_pipen().set_data(...).run() # Integrate into a pipeline <proc_of_a_pipeline>.requires = pg.my_proc2
What's Changed
Full Changelog: 0.4.6...0.5.0