Where should I put additional python src files that pipelines depend on? #1665
Replies: 2 comments
-
Variant 2 is the preferred approach, your business logic should not be tightly coupled with your pipeline logic :) |
Beta Was this translation helpful? Give feedback.
-
I wouldn't go so far as to say it's an anti-pattern, but it does warrant additional thought. By default, the Kedro project template is intended for developing a single package. The If you introduce a second package, especially if you want to publish it, it will need it's own packaging instructions. It's also unclear now, without looking at the contents of You should either have a separate repository structure, or you can restructure your repository as a monorepo. There are a number of documented (Kedro-agnostic) pros/cons of each approach. |
Beta Was this translation helpful? Give feedback.
-
I have a custom package that implements a model calculation that my pipelines use (depend on). Where should I put it in the kedro folder structure?
variant 1
or variant 2
I was not able to find an example for this. Or is this an anti-pattern and my custom package should be completely separated from the kedro hirarchy?
Beta Was this translation helpful? Give feedback.
All reactions