Unanswered
Is There Any Known Issue In Pipeline Decorator Where Lambda Function Call Another Function(Say
Hi @<1523701205467926528:profile|AgitatedDove14>
first of all many thanks to you for always replying promptly 🙂
Initially I thought function is defined outside that is why I was getting that error. However I am using this way and that also gives error:
@PipelineDecorator.component(return_values=["op"])
def step1():
op = "I am in step-1"
return op
@PipelineDecorator.component(return_values=["op"])
def step2(op):
return ( lambda op:step1(op))
While executing step2, I get error that step1 is not defined.
Hope this example is helpful.
57 Views
0
Answers
5 months ago
5 months ago