yu-iskw/dbt-artifacts-parser

none is not an allowed value: sources -> source.default.xyz -> metadata -> type

Opened this issue · 1 comments

I get the above error for dbt version 1.4.1 using snowflake.

The error is related to this line: https://github.com/yu-iskw/dbt-artifacts-parser/blob/main/dbt_artifacts_parser/parsers/catalog/catalog_v1.py#L33

The obvious fix here is to adapt the type to be Optional[str] - but if I understand this is auto-generated based on this line. And this is based on the dbt-core definition here.

What's the standard process in this case?

The underlying issue here is a (fixed) bug in dbt-snowflake: dbt-labs/dbt-snowflake#818