Hello, In the spaceflight tutorial, the following ...
# beginners-need-help
o
Hello, In the spaceflight tutorial, the following code is used to create a pipeline:
Copy code
python
from kedro.pipeline import Pipeline, node, pipeline
def create_pipeline(**kwargs) -> Pipeline:
    return pipeline(
        [
            node(),
            node(),
        ]
    )
I have a "Module is not callable" lint error due to the use of
pipeline()
(without a capital letter). The message disappears when I replace
pipeline()
by
Pipeline()
. What is the difference between these 2? and why are we importing both?