Nik Linnane
09/05/2024, 6:29 PMmy_project
├── src
| ├── use_case_1
| ├── __init__.py
| ├── __main__.py
| ├── pipelines
| | ├── use_case_1_data_engineering
| | ├── use_case_1_modeling
| ├── use_case_2
| ├── __init__.py
| ├── __main__.py
| ├── pipelines
| | ├── use_case_2_data_ingestion
| | ├── use_case_2_data_science
|
Yury Fedotov
09/06/2024, 5:44 AMmy_project/src/my_project
contains:
• pipeline_registry.py
• settings.py
• main.py
(With double underscores..)
• init.py
(With double underscores..)
Then you can arrange the pipelines / nodes / other directories however you prefer.
---
Also, given that you have two main.py
files in your example... Do you want to have 2 different Kedro projects in a single repo and wondering if that's possible? The answer is yes.
If you want a single project, but non-standard way to arrange pipeline directories, that's also possible, see my reply aboveJuan Luis
09/06/2024, 7:33 AM❯ tree
.
├── README.md
├── pyproject.toml
└── src
├── pdm_multi_a
│ └── __init__.py
└── pdm_multi_b
└── __init__.py
4 directories, 4 files
❯ cat pyproject.toml
[project]
name = "pdm-multi"
version = "0.1.0"
readme = "README.md"
requires-python = ">=3.11"
dependencies = []
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
Juan Luis
09/06/2024, 7:33 AMsrc/
, and I think it does...Juan Luis
09/06/2024, 7:47 AMkedro pipeline create
with that layout, where would you expect to happen?