Unanswered
Hi There,
I Have A Pipeline That Query Data From A Neo4J Database.
When I Run It Using
Found the issue.
For some reason, all parameters on the main functions are passed as strings.
So I have these parameters:
@PipelineDecorator.pipeline(name='Build Embeddings', project='kgraph', version='1.3') def main(tk_list=[], ngram_size=2): ...
The ngram_size variable is a int when using PipelineDecorator.debug_pipeline()
and it is a string when I used PipelineDecorator.run_locally()
I’ve add Python type hints and it fixed the issues:def main(tk_list:list = [], ngram_size:int = 2):
156 Views
0
Answers
2 years ago
one year ago