Hi Team, question about using Definition in Dagste...
# ask-community
Hi Team, question about using Definition in Dagster. Previously we are able to have multiple repository in Dagster to group different jobs. But when I try to use Definitions, it says it cannot have more than one Definitions object defined at module scope, how could I still use Definition to group jobs like what I did in the past?
Hey Sean thanks for the question. One of the goals here was to simplify our core ontology, so this is by design. Definitions in effect sets all of the definitions for a particular code location. If you want to organize your definitions by group in a particular code location, you can continue to use
as before and it will work as before.
❤️ 1