def make_monthly_predictions(input_data):
    output_data = "dummy"
    return output_data

from kedro.pipeline.modular_pipeline import pipeline
from kedro.pipeline import node

base_pipeline = pipeline(
    [
        node(
            func=make_monthly_predictions,
            inputs=["input_data"],
            outputs=["output_data"]
        )
    ]
)
months = ["jan", "feb", "mar", "apr"]

def create_pipeline(months):
    pipelines = []
    for i in range(len(months)):
        if i + 1 >= len(months): break
        curr, next = months[i], months[i+1]
        pipelines.append(pipeline(base_pipeline, namespace=curr))
    return pipeline(pipelines) # Aggregate the pipelines

pipelines = create_pipeline(months)
pipelines

Pipeline([
Node(make_monthly_predictions, ['feb.input_data'], ['feb.output_data'], None),
Node(make_monthly_predictions, ['jan.input_data'], ['jan.output_data'], None),
Node(make_monthly_predictions, ['mar.input_data'], ['mar.output_data'], None)
])
from kedro_viz_lite.core import prepare_dag_json, run_viz_lite
output_file = "dag.json"
prepare_dag_json(pipelines, path=output_file)
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
 in <module>:3                                                                                    
                                                                                                  
   1 from kedro_viz_lite.core import prepare_dag_json, run_viz_lite                               
   2 output_file = "dag.json"                                                                     
 3 prepare_dag_json(pipelines, load_file = output_file)                                         
   4                                                                                              
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: prepare_dag_json() got an unexpected keyword argument 'load_file'
import json
with open(output_file) as f:
    dag_json = json.load(f)
dag_json
run_viz_lite??
run_viz_lite(load_file=output_file)
from kedro_viz.server import run_server
port=9999
host="localhost"
import multiprocessing
viz_process = multiprocessing.Process(
    target=run_server,
    daemon=True,
    kwargs={"load_file": output_file, "port": port, "host": host},
)

viz_process.start()
[09/28/23 02:48:31] WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=108027;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=764919;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/matplotlib/__init__.py:169:                   
                             DeprecationWarning: distutils                      
                             Version classes are deprecated. Use                
                             packaging.version instead.                         
                               if                                               
                             LooseVersion(module.__version__) <                 
                             minver:                                            
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=108465;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=903727;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/setuptools/_distutils/version.                
                             py:345: DeprecationWarning:                        
                             distutils Version classes are                      
                             deprecated. Use packaging.version                  
                             instead.                                           
                               other = LooseVersion(other)                      
                                                                                
[09/28/23 02:48:32] WARNING                                      8;id=138977;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/matplotlib/__init__.py__init__.py8;;:8;id=472044;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/matplotlib/__init__.py#8588588;;
                             Bad key axes.location in file                      
                             /Users/Nok_Lam_Chan/miniconda3/envs                
                             /kedro_core/lib/python3.8/site-pack                
                             ages/matplotlib/mpl-data/stylelib/p                
                             resentation.mplstyle, line 4                       
                             ("axes.location: 'left'")                          
                             You probably need to get an updated                
                             matplotlibrc file from                             
                             https://github.com/matplotlib/matpl                
                             otlib/blob/v3.3.4/matplotlibrc.temp                
                             late                                               
                             or from the matplotlib source                      
                             distribution                                       
Starting Kedro Viz Backend Server...
!kedro viz --load-file dag.json
[09/28/23 02:49:07] WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=791702;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=773302;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/anyconfig/processors/utils.py:                
                             11: DeprecationWarning:                            
                             pkg_resources is deprecated as an                  
                             API. See                                           
                             https://setuptools.pypa.io/en/lates                
                             t/pkg_resources.html                               
                               import pkg_resources                             
                                                                                
[09/28/23 02:49:08] WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=344598;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=867721;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('g                
                             oogle')`.                                          
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=817722;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=842220;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('g                
                             oogle.cloud')`.                                    
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=553801;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=159052;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2350                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('g                
                             oogle')`.                                          
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(parent)                        
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=500764;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=227082;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('g                
                             oogle.logging')`.                                  
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=381721;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=449669;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('m                
                             pl_toolkits')`.                                    
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=382206;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=588881;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('r                
                             uamel')`.                                          
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=341305;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=784224;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('r                
                             uamel.yaml')`.                                     
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=467118;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=724351;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2350                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('r                
                             uamel')`.                                          
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(parent)                        
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=229455;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=492594;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('s                
                             nowflake')`.                                       
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=941187;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=955778;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('s                
                             phinxcontrib')`.                                   
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=693562;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=562033;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('z                
                             ope')`.                                            
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
[09/28/23 02:49:13] WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=85931;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=106530;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/matplotlib/__init__.py:169:                   
                             DeprecationWarning: distutils                      
                             Version classes are deprecated. Use                
                             packaging.version instead.                         
                               if                                               
                             LooseVersion(module.__version__) <                 
                             minver:                                            
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=5045;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=681135;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/setuptools/_distutils/version.                
                             py:345: DeprecationWarning:                        
                             distutils Version classes are                      
                             deprecated. Use packaging.version                  
                             instead.                                           
                               other = LooseVersion(other)                      
                                                                                
                    WARNING                                      8;id=480821;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/matplotlib/__init__.py__init__.py8;;:8;id=130622;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/matplotlib/__init__.py#8588588;;
                             Bad key axes.location in file                      
                             /Users/Nok_Lam_Chan/miniconda3/envs                
                             /kedro_core/lib/python3.8/site-pack                
                             ages/matplotlib/mpl-data/stylelib/p                
                             resentation.mplstyle, line 4                       
                             ("axes.location: 'left'")                          
                             You probably need to get an updated                
                             matplotlibrc file from                             
                             https://github.com/matplotlib/matpl                
                             otlib/blob/v3.3.4/matplotlibrc.temp                
                             late                                               
                             or from the matplotlib source                      
                             distribution                                       
Kedro Viz Backend Server started successfully...
[09/28/23 02:49:20] WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=982235;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=818893;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/anyconfig/processors/utils.py:                
                             11: DeprecationWarning:                            
                             pkg_resources is deprecated as an                  
                             API. See                                           
                             https://setuptools.pypa.io/en/lates                
                             t/pkg_resources.html                               
                               import pkg_resources                             
                                                                                
[09/28/23 02:49:21] WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=939456;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=296474;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('g                
                             oogle')`.                                          
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=219446;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=761036;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('g                
                             oogle.cloud')`.                                    
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=923839;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=93301;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2350                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('g                
                             oogle')`.                                          
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(parent)                        
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=983195;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=85397;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('g                
                             oogle.logging')`.                                  
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=611767;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=152745;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('m                
                             pl_toolkits')`.                                    
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
[09/28/23 02:49:19] ERROR    Exception in ASGI application 8;id=106633;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.pyhttptools_impl.py8;;:8;id=466916;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py#4404408;;
                                                                                
                             ╭─ Traceback (most recent c─╮                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ uvicorn/protocols/http/ht │                      
                             │ tptools_impl.py:435 in    │                      
                             │ run_asgi                  │                      
                             │                           │                      
                             │   432 │   # ASGI exceptio │                      
                             │   433 │   async def run_a │                      
                             │   434 │   │   try:        │                      
                             │ ❱ 435 │   │   │   result  │                      
                             │   436 │   │   │   │   sel │                      
                             │   437 │   │   │   )       │                      
                             │   438 │   │   except Base │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ uvicorn/middleware/proxy_ │                      
                             │ headers.py:78 in __call__ │                      
                             │                           │                      
                             │   75 │   │   │   │   │    │                      
                             │   76 │   │   │   │   │    │                      
                             │   77 │   │                │                      
                             │ ❱ 78 │   │   return await │                      
                             │   79                      │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ uvicorn/middleware/messag │                      
                             │ e_logger.py:86 in         │                      
                             │ __call__                  │                      
                             │                           │                      
                             │   83 │   │   except BaseE │                      
                             │   84 │   │   │   log_text │                      
                             │   85 │   │   │   self.log │                      
                             │ ❱ 86 │   │   │   raise ex │                      
                             │   87 │   │   else:        │                      
                             │   88 │   │   │   log_text │                      
                             │   89 │   │   │   self.log │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ uvicorn/middleware/messag │                      
                             │ e_logger.py:82 in         │                      
                             │ __call__                  │                      
                             │                           │                      
                             │   79 │   │   log_text = " │                      
                             │   80 │   │   self.logger. │                      
                             │   81 │   │   try:         │                      
                             │ ❱ 82 │   │   │   await se │                      
                             │   83 │   │   except BaseE │                      
                             │   84 │   │   │   log_text │                      
                             │   85 │   │   │   self.log │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ fastapi/applications.py:2 │                      
                             │ 76 in __call__            │                      
                             │                           │                      
                             │   273 │   async def __cal │                      
                             │   274 │   │   if self.roo │                      
                             │   275 │   │   │   scope[" │                      
                             │ ❱ 276 │   │   await super │                      
                             │   277 │                   │                      
                             │   278 │   def add_api_rou │                      
                             │   279 │   │   self,       │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/applications.py │                      
                             │ :122 in __call__          │                      
                             │                           │                      
                             │   119 │   │   scope["app" │                      
                             │   120 │   │   if self.mid │                      
                             │   121 │   │   │   self.mi │                      
                             │ ❱ 122 │   │   await self. │                      
                             │   123 │                   │                      
                             │   124 │   def on_event(se │                      
                             │   125 │   │   return self │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/middleware/erro │                      
                             │ rs.py:184 in __call__     │                      
                             │                           │                      
                             │   181 │   │   │   # We al │                      
                             │   182 │   │   │   # This  │                      
                             │   183 │   │   │   # to op │                      
                             │ ❱ 184 │   │   │   raise e │                      
                             │   185 │                   │                      
                             │   186 │   def format_line │                      
                             │   187 │   │   self, index │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/middleware/erro │                      
                             │ rs.py:162 in __call__     │                      
                             │                           │                      
                             │   159 │   │   │   await s │                      
                             │   160 │   │               │                      
                             │   161 │   │   try:        │                      
                             │ ❱ 162 │   │   │   await s │                      
                             │   163 │   │   except Exce │                      
                             │   164 │   │   │   request │                      
                             │   165 │   │   │   if self │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/middleware/base │                      
                             │ .py:108 in __call__       │                      
                             │                           │                      
                             │   105 │   │               │                      
                             │   106 │   │   async with  │                      
                             │   107 │   │   │   request │                      
                             │ ❱ 108 │   │   │   respons │                      
                             │   109 │   │   │   await r │                      
                             │   110 │   │   │   respons │                      
                             │   111                     │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/dev/k │                      
                             │ edro-viz/package/kedro_vi │                      
                             │ z/api/apps.py:42 in       │                      
                             │ set_secure_headers        │                      
                             │                           │                      
                             │    39 │                   │                      
                             │    40 │   @app.middleware │                      
                             │    41 │   async def set_s │                      
                             │ ❱  42 │   │   response =  │                      
                             │    43 │   │   secure_head │                      
                             │    44 │   │   return resp │                      
                             │    45                     │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/middleware/base │                      
                             │ .py:84 in call_next       │                      
                             │                           │                      
                             │    81 │   │   │   │   │   │                      
                             │    82 │   │   │   except  │                      
                             │    83 │   │   │   │   if  │                      
                             │ ❱  84 │   │   │   │   │   │                      
                             │    85 │   │   │   │   rai │                      
                             │    86 │   │   │           │                      
                             │    87 │   │   │   assert  │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/middleware/base │                      
                             │ .py:70 in coro            │                      
                             │                           │                      
                             │    67 │   │   │   │       │                      
                             │    68 │   │   │   │   asy │                      
                             │    69 │   │   │   │   │   │                      
                             │ ❱  70 │   │   │   │   │   │                      
                             │    71 │   │   │   │   │   │                      
                             │    72 │   │   │   │   │   │                      
                             │    73                     │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/middleware/exce │                      
                             │ ptions.py:79 in __call__  │                      
                             │                           │                      
                             │    76 │   │   │   │   han │                      
                             │    77 │   │   │           │                      
                             │    78 │   │   │   if hand │                      
                             │ ❱  79 │   │   │   │   rai │                      
                             │    80 │   │   │           │                      
                             │    81 │   │   │   if resp │                      
                             │    82 │   │   │   │   msg │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/middleware/exce │                      
                             │ ptions.py:68 in __call__  │                      
                             │                           │                      
                             │    65 │   │   │   await s │                      
                             │    66 │   │               │                      
                             │    67 │   │   try:        │                      
                             │ ❱  68 │   │   │   await s │                      
                             │    69 │   │   except Exce │                      
                             │    70 │   │   │   handler │                      
                             │    71                     │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ fastapi/middleware/asynce │                      
                             │ xitstack.py:21 in         │                      
                             │ __call__                  │                      
                             │                           │                      
                             │   18 │   │   │   │   │    │                      
                             │   19 │   │   │   │   exce │                      
                             │   20 │   │   │   │   │    │                      
                             │ ❱ 21 │   │   │   │   │    │                      
                             │   22 │   │   │   if depen │                      
                             │   23 │   │   │   │   # Th │                      
                             │   24 │   │   │   │   # st │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ fastapi/middleware/asynce │                      
                             │ xitstack.py:18 in         │                      
                             │ __call__                  │                      
                             │                           │                      
                             │   15 │   │   │   async wi │                      
                             │   16 │   │   │   │   scop │                      
                             │   17 │   │   │   │   try: │                      
                             │ ❱ 18 │   │   │   │   │    │                      
                             │   19 │   │   │   │   exce │                      
                             │   20 │   │   │   │   │    │                      
                             │   21 │   │   │   │   │    │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/routing.py:718  │                      
                             │ in __call__               │                      
                             │                           │                      
                             │   715 │   │   │   match,  │                      
                             │   716 │   │   │   if matc │                      
                             │   717 │   │   │   │   sco │                      
                             │ ❱ 718 │   │   │   │   awa │                      
                             │   719 │   │   │   │   ret │                      
                             │   720 │   │   │   elif ma │                      
                             │   721 │   │   │   │   par │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/routing.py:276  │                      
                             │ in handle                 │                      
                             │                           │                      
                             │   273 │   │   │   │   )   │                      
                             │   274 │   │   │   await r │                      
                             │   275 │   │   else:       │                      
                             │ ❱ 276 │   │   │   await s │                      
                             │   277 │                   │                      
                             │   278 │   def __eq__(self │                      
                             │   279 │   │   return (    │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ starlette/routing.py:66   │                      
                             │ in app                    │                      
                             │                           │                      
                             │    63 │   async def app(s │                      
                             │    64 │   │   request = R │                      
                             │    65 │   │   if is_corou │                      
                             │ ❱  66 │   │   │   respons │                      
                             │    67 │   │   else:       │                      
                             │    68 │   │   │   respons │                      
                             │    69 │   │   await respo │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ fastapi/routing.py:237 in │                      
                             │ app                       │                      
                             │                           │                      
                             │    234 │   │   if errors: │                      
                             │    235 │   │   │   raise  │                      
                             │    236 │   │   else:      │                      
                             │ ❱  237 │   │   │   raw_re │                      
                             │    238 │   │   │   │   de │                      
                             │    239 │   │   │   )      │                      
                             │    240                    │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/site-packages/ │                      
                             │ fastapi/routing.py:163 in │                      
                             │ run_endpoint_function     │                      
                             │                           │                      
                             │    160 │   assert dependa │                      
                             │    161 │                  │                      
                             │    162 │   if is_coroutin │                      
                             │ ❱  163 │   │   return awa │                      
                             │    164 │   else:          │                      
                             │    165 │   │   return awa │                      
                             │    166                    │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/dev/k │                      
                             │ edro-viz/package/kedro_vi │                      
                             │ z/api/apps.py:134 in main │                      
                             │                           │                      
                             │   131 │                   │                      
                             │   132 │   @app.get("/api/ │                      
                             │   133 │   async def main( │                      
                             │ ❱ 134 │   │   return json │                      
                             │   135 │                   │                      
                             │   136 │   @app.get("/api/ │                      
                             │   137 │   async def get_n │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/pathlib.py:123 │                      
                             │ 2 in read_text            │                      
                             │                           │                      
                             │   1229 │   │   """        │                      
                             │   1230 │   │   Open the f │                      
                             │   1231 │   │   """        │                      
                             │ ❱ 1232 │   │   with self. │                      
                             │   1233 │   │   │   return │                      
                             │   1234 │                  ��                      
                             │   1235 │   def write_byte │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/pathlib.py:121 │                      
                             │ 8 in open                 │                      
                             │                           │                      
                             │   1215 │   │   """        │                      
                             │   1216 │   │   if self._c │                      
                             │   1217 │   │   │   self._ │                      
                             │ ❱ 1218 │   │   return io. │                      
                             │   1219 │   │   │   │   │  │                      
                             │   1220 │                  │                      
                             │   1221 │   def read_bytes │                      
                             │                           │                      
                             │ /Users/Nok_Lam_Chan/minic │                      
                             │ onda3/envs/kedro_core/lib │                      
                             │ /python3.8/pathlib.py:107 │                      
                             │ 4 in _opener              │                      
                             │                           │                      
                             │   1071 │                  │                      
                             │   1072 │   def _opener(se │                      
                             │   1073 │   │   # A stub f │                      
                             │ ❱ 1074 │   │   return sel │                      
                             │   1075 │                  │                      
                             │   1076 │   def _raw_open( │                      
                             │   1077 │   │   """        │                      
                             ╰────���──────────────────────╯                      
                             NotADirectoryError: [Errno                         
                             20] Not a directory:                               
                             '/Users/Nok_Lam_Chan/GitHub/k                      
                             edro-viz-lite/nbs/dag.json/ma                      
                             in'                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=32756;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=150849;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('r                
                             uamel')`.                                          
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=942168;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=716373;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('r                
                             uamel.yaml')`.                                     
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=894503;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=743947;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2350                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('r                
                             uamel')`.                                          
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(parent)                        
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=239674;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=868455;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('s                
                             nowflake')`.                                       
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=307415;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=699432;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('s                
                             phinxcontrib')`.                                   
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=726330;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=631302;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/pkg_resources/__init__.py:2871                
                             : DeprecationWarning: Deprecated                   
                             call to                                            
                             `pkg_resources.declare_namespace('z                
                             ope')`.                                            
                             Implementing implicit namespace                    
                             packages (as specified in PEP 420)                 
                             is preferred to                                    
                             `pkg_resources.declare_namespace`.                 
                             See                                                
                             https://setuptools.pypa.io/en/lates                
                             t/references/keywords.html#keyword-                
                             namespace-packages                                 
                               declare_namespace(pkg)                           
                                                                                
[09/28/23 02:49:26] WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=914216;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=402507;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/matplotlib/__init__.py:169:                   
                             DeprecationWarning: distutils                      
                             Version classes are deprecated. Use                
                             packaging.version instead.                         
                               if                                               
                             LooseVersion(module.__version__) <                 
                             minver:                                            
                                                                                
                    WARNING  /Users/Nok_Lam_Chan/miniconda3/envs 8;id=741771;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.pywarnings.py8;;:8;id=670372;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/warnings.py#1091098;;
                             /kedro_core/lib/python3.8/site-pack                
                             ages/setuptools/_distutils/version.                
                             py:345: DeprecationWarning:                        
                             distutils Version classes are                      
                             deprecated. Use packaging.version                  
                             instead.                                           
                               other = LooseVersion(other)                      
                                                                                
                    WARNING                                      8;id=383346;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/matplotlib/__init__.py__init__.py8;;:8;id=486985;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/matplotlib/__init__.py#8588588;;
                             Bad key axes.location in file                      
                             /Users/Nok_Lam_Chan/miniconda3/envs                
                             /kedro_core/lib/python3.8/site-pack                
                             ages/matplotlib/mpl-data/stylelib/p                
                             resentation.mplstyle, line 4                       
                             ("axes.location: 'left'")                          
                             You probably need to get an updated                
                             matplotlibrc file from                             
                             https://github.com/matplotlib/matpl                
                             otlib/blob/v3.3.4/matplotlibrc.temp                
                             late                                               
                             or from the matplotlib source                      
                             distribution                                       
Starting Kedro Viz Backend Server...
[09/28/23 02:49:29] ERROR    [Errno 48] error while attempting to  8;id=990854;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/uvicorn/server.pyserver.py8;;:8;id=910262;file:///Users/Nok_Lam_Chan/miniconda3/envs/kedro_core/lib/python3.8/site-packages/uvicorn/server.py#1691698;;
                             bind on address ('127.0.0.1', 4141):               
                             address already in use