You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cosmos was originally implemented thinking about surfacing many different tools, not only DBT. Since then, the scope of the project changed.
Given this, we're looking into refactoring the directory structure to make it easier to maintain. This proposal assumes the tests were already moved to their own directory (#302 ).
* Reduce the level of nested directories
* Remove utils directory
* No changes to the code application logic were made, which could make the code review very hard
Disclaimer: this is an intentional breaking change before the 1.0 release.
Closes: #303
- Reduce the level of nested directories (remove `core` and
`.providers.dbt`)
- Remove the `utils` directory
- No changes to the code application logic were made, which could make
the code review very hard
Disclaimer: This is an intentional breaking change before the 1.0
release. Closes: #303.
Example of breaking changes:
Before:
```
from cosmos.providers.dbt.dag import DbtDag
from cosmos.providers.dbt.task_group import DbtTaskGroup
from cosmos.providers.dbt.core.operators.kubernetes import DbtRunKubernetesOperator
from cosmos.core.profiles.redshift import RedshiftUserPasswordProfileMapping
```
Now:
```
from cosmos.dag import DbtDag
from cosmos.task_group import DbtTaskGroup
from cosmos.operators.kubernetes import DbtRunKubernetesOperator
from cosmos.profiles.redshift import RedshiftUserPasswordProfileMapping
```
Cosmos was originally implemented thinking about surfacing many different tools, not only DBT. Since then, the scope of the project changed.
Given this, we're looking into refactoring the directory structure to make it easier to maintain. This proposal assumes the
tests
were already moved to their own directory (#302 ).Current directory structure:
Proposed directory structure:
The text was updated successfully, but these errors were encountered: