[Feature] Add remaining enum constants to __init__ for direct import #1183
Labels
area:config
Related to configuration, like YAML files, environment variables, or executer configuration
enhancement
New feature or request
Milestone
Description
A very minor change aimed at improving the developer experience. As mentioned here, certain constants from
cosmos.constants
, such asExecutionMode
,LoadMode
, orTestBehavior
, are already imported in the__init__
file to facilitate direct imports.However, other constants are not currently included, which leads to an inconsistent import pattern when setting dbt configurations. I'm open to suggestions regarding which constants should be added, but I believe that it would be good to add the remaining enumerations:
InvocationMode
,TestIndirectSelection
,SourceRenderingBehaviour
,DbtResourceType
.Use case/motivation
Extend the usability by adding the remaining enum constants to the
__init__
file for direct import. This will enhance consistency in imports and simplify usage for developers.Related issues
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: