# ask-community

Jasper Ginn

03/31/2023, 8:23 AM
Hi all. I'm currently exploring dagster and building a simple ML pipeline. I'm trying to figure out the following and couldn't find an answer on GH/docs/slack: Let's say that I have two pipelines: training & inference. I want to re-use some of the assets (at least the business logic) between them, because e.g. ingestion/feature engineering/splitting etc. will all use the same logic. Of course, they will operate on different slices of the data, so they need some input to govern this. What's the recommended pattern to share assets between these two pipelines? Thanks in advance!
🤖 1
Solved this by using op factory pattern


04/03/2023, 5:00 PM
Great that you were able to solve your issue