For example,
@Step.register("share")
class Share(Step):
CACHEABLE = False
def run(self):
...
@Step.register("a")
class StepA(Step):
def run(self, foo):
...
@Step.register("b")
class StepB(Step):
def run(self, foo):
...
And the config file
steps: {
share: {type: "share"},
A: {type: "a", foo: {type:"ref", ref:"share"}},
B: {type: "b", foo: {type:"ref", ref:"share"}},
}
Currently, it seems that both StepA and StepB will run the step Share. i.e. the step Share will be executed twice, once for A and once for B. Currently is it possible to just run step Share once and use the result for both StepA and StepB? I don't want to make step Share cacheable.
For example,
And the config file
Currently, it seems that both
StepAandStepBwill run the stepShare. i.e. the stepSharewill be executed twice, once for A and once for B. Currently is it possible to just run stepShareonce and use the result for bothStepAandStepB? I don't want to make stepSharecacheable.