This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
fromkedro.pipelineimportPipeline,node,pipeline
fromkedro.framework.sessionimportKedroSession
from.nodesimportparse_xsl
importlogging
logger=logging.getLogger(__name__)
# we need the context here in order to access to prepare_pipeline_creation()
withKedroSession.create()assession:
context=session.load_context()
#important: **we have to call** the catalog as an attribute,
#because it makes a call to the _get_catalog() of the context method