|
|
|
|
@ -1,7 +1,19 @@
|
|
|
|
|
import logging
|
|
|
|
|
|
|
|
|
|
from kedro.pipeline import Pipeline, node, pipeline
|
|
|
|
|
|
|
|
|
|
from .nodes import parse_xml_collection
|
|
|
|
|
|
|
|
|
|
from kedro.framework.session import KedroSession
|
|
|
|
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
|
with KedroSession.create() as session:
|
|
|
|
|
context = session.load_context()
|
|
|
|
|
catalog = context.get_catalog()
|
|
|
|
|
bourbon = catalog['bourbon_xmlcontent']
|
|
|
|
|
logger.info("+++++++++++++++++++" + bourbon['folderpath'])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def create_pipeline(**kwargs) -> Pipeline:
|
|
|
|
|
return pipeline(
|
|
|
|
|
|