lively-lunch-9285
08/21/2025, 8:30 PMlively-lunch-9285
08/21/2025, 8:32 PMlively-lunch-9285
08/21/2025, 8:32 PMlively-lunch-9285
08/21/2025, 8:33 PMlively-lunch-9285
08/21/2025, 8:33 PMlively-lunch-9285
08/21/2025, 8:38 PMWhy do you need a functional interface to make your flows short? Why can't you just extract all the insides of your step functions into aWe do, but even with that, 1. you have to repeat a bunch of boilerplate for each step a.module?helpers
@resources(...)
b. @step
c. def <some step name>
d. """some docstring
e. from helpers import thing
f. self.something = thing(self.other)
g. self.next(...)
h. ^^^ it's quite a lot
2. It still isn't clear which order the steps run in just looking at the code
3. And it isn't clear the dependency relationship between the steps (which inputs/outputs do steps produce and consume)dry-beach-38304
08/21/2025, 8:41 PMvictorious-lawyer-58417
08/21/2025, 8:42 PMdry-beach-38304
08/21/2025, 8:42 PMlively-lunch-9285
08/21/2025, 8:43 PMWhat is "shape"This, but for each step:
lively-lunch-9285
08/21/2025, 8:43 PMflow.py show shows you a list of steps, but not necessarily which order they run in. And also not the input/output relationships, whereas that's more clear in the functional examplelively-lunch-9285
08/21/2025, 8:46 PMfull-kilobyte-32033
08/21/2025, 10:38 PM