[Feature] Move component types (like ColumnInfo) to dbt_common
benc-db opened this issue · 0 comments
benc-db commented
Is this your first time submitting a feature request?
- I have read the expectations for open source contributors
- I have searched the existing issues, and I could not find an existing issue for this feature
- I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion
Describe the feature
As an adapter developer, it would be nice to have access to parsed model component types for making typed methods on adapter that can be called from Jinja. In the absence of these types, I have to use a lot of dict[str, Any] or query for defined attributes on the objects passed in from Jinja.
Describe alternatives you've considered
In the absence of these types in dbt_common, I use a lot of dict[str, Any] or query for defined attributes on the objects passed in from Jinja. The alternative is to depend on dbt-core directly, but since 1.8.0, I'm trying hard not to do that.
Who will this benefit?
Adapter developers who care about type-safety and not depending on dbt-core for types.
Are you interested in contributing this feature?
Vaguely, but it would slowdown development of dbt-databricks adapter.
Anything else?
No response