Autoloading existing Dagster definitions
Dagster Components is currently in Release Candidate status. APIs are stable, with broader integration coverage and full feature parity in active development and coming soon. Check it out and let us know what you think in the #dg-components channel in the Dagster Community Slack!
This guide covers using existing Dagster definitions with a dg
-compatible project. To convert an existing project to use dg
, see "Converting an existing project to use dg
".
In projects created with create-dagster
, all definitions are typically kept in the defs/
directory. However, if you've converted an existing project to use dg
, you may have definitions located in various other modules. This guide will show you how to move these existing definitions into the defs
directory in a way that will allow them to be automatically loaded.
Example project structure
Let's walk through an example of migrating your existing definitions, with a project that has the following structure:
tree
.
├── my_existing_project