Is it possible to generate multiple assets based o...
# ask-community
d
Is it possible to generate multiple assets based off of a config? for instance, we have a set of assets that have to do with training and testing a model. That code is very generic, and we would like to duplicate the code for all those assets based off the ML project we're trying to run. So it would be a lot less code duplication if we could have the code for the assets be generic, but some form of set config could define distinct assets based on that ML project name.
At the very least, pulling the data down and splitting it up between the test and training data sets is very generic
y
here’s a github discussion where folks are sharing a few examples to do that: https://github.com/dagster-io/dagster/discussions/11045