https://kedro.org/ logo
#questions
Title
# questions
m

Marc Gris

07/19/2023, 2:11 PM
Hi everyone I’m having a bit of hard time understanding what is meant by the following error message:
ModularPipelineError: Inputs should be free inputs to the pipeline
Could some kindly unpack / explain it ? Thx
d

Deepyaman Datta

07/19/2023, 2:14 PM
It means that your
inputs
(passed to
pipeline()
) contains keys that are not inputs to the pipeline object you passed to
pipeline()
.
But I understand that the error message may not be super helpful. 😅
m

Marc Gris

07/19/2023, 2:29 PM
Thanks @Deepyaman Datta I may be thick 😅 but… I think I do understand what you’re saying, but I’m still getting the same error while being under the impression / delusion that my implementation below does abide by that constraint: What is it that I’m getting incorrectly? Thx in advance, M
P.S: I hope that your eyes won’t bleed at the sight of this “tentative dynamic pipeline hack” 😉
d

Deepyaman Datta

07/19/2023, 3:30 PM
garbage_filtered
is not a "free" input in the
generic_tables_pipelines
it is being generated by
garbage_filtering
by free input, it means an input you need to provide because it's not generated in the pipeline (and a free output is one that isn't consumed during the pipeline)
(not sure if "free" is defined somewhere, but I can understand that the terminology may be confusing; hopefully the above explanation helps)
m

Marc Gris

07/19/2023, 3:42 PM
ah… ok… I get it… Thanks a lot @Deepyaman Datta for laying this out clearly ! 🙏🏼 Such a definition would be a nice add-on to the modular pipeline section of the doc 👍🏼
d

Deepyaman Datta

07/19/2023, 3:42 PM
Such a definition would be a nice add-on to the modular pipeline section of the doc
Let me take a look right now!
👍🏼 1