hundreds-helmet-67772
07/19/2022, 12:18 PMstraight-shampoo-11124
07/19/2022, 12:23 PMstraight-shampoo-11124
07/19/2022, 12:25 PMstraight-shampoo-11124
07/19/2022, 12:26 PMFlowSpec. You can assign artifacts to self in the superclassstraight-shampoo-11124
07/19/2022, 12:28 PMstart step, Parameters , custom methods/decorators, or deploy-time functions to execute your own initialization code at the right time in the flow's lifecyclehundreds-helmet-67772
07/19/2022, 12:39 PMstraight-shampoo-11124
07/19/2022, 12:42 PMstraight-shampoo-11124
07/19/2022, 12:42 PMclass MyModel():
def init(self):
self.my_string = compute()
class MyFlow(FlowSpec, MyModel):
@step
def start(self):
self.init()straight-shampoo-11124
07/19/2022, 12:42 PM<http://self.my|self.my>_string is available in all subsequent stepshundreds-helmet-67772
07/19/2022, 12:48 PM