Unanswered
Hi Everyone,
I Get An Error When I Add An Argument Of Type Enum To A Pipeline Component (@Pipelinedecorator.Component). At The Same Time Pipelines (@Pipelinedecorator.Pipeline) And Normal Functions Work Fine With Enums. The Error Message Looks Like This:
Hi @<1523701435869433856:profile|SmugDolphin23> , thank you for getting back to me. I actually have my Enum in a separate file. I have tried importing it both to the context (file with pipeline component) and to inside of the pipeline component function. Unfortunatelly it does not work. The same scenario for pipeline itself works perfectly fine (when Enum is imported to the context, aka .py file with pipeline code).
Important : it only fails when default value is provided. Simply defining the type works fine for both pipeline and pipeline components.
100 Views
0
Answers
10 months ago
10 months ago