kedro-replit
main.py
Packager files
poetry.lock
pyproject.toml
import os
from kedro.framework.project import configure_project
from kedro.framework.session import KedroSession
from kedro.framework.session.session import _activate_session
from kedro.runner import SequentialRunner
# kedro loves to be in its own directory
os.chdir('kedro-replit')
configure_project('kedro_replit')
session = KedroSession.create('kedro_replit')
_activate_session(session, force=True)
context = session.load_context()
runner = SequentialRunner()
runner.run(context.pipeline, context.catalog)