Trying to load in a DBT linage in Dagster. Problem...
# ask-community
r
Trying to load in a DBT linage in Dagster. Problem is my dbt is setup with dagster.. Anyway in by dagster
__init__.py
I have:
dbt_assets = load_assets_from_dbt_project("../transform")
But I get the error:
Copy code
`UserWarning: Error loading repository location orchestrate:dagster._core.errors.DagsterInvalidDefinitionError: "source_my_meltano_project_tap-spreadsheets-anywhere_annotations" is not a valid name in Dagster. Names must be in regex ^[A-Za-z0-9_]+$.
I know the dash is not allowed but I don't see where I should rename this.. Would love to know if anyone had luck with a dbt+meltano+dagster setup
I also have no idea where dagster is finding that
source_my_meltano_project_tap-spreadsheets-anywhere_annotation
name from
Anywyas the core issue is, the dbt_dagster package looks at the dbt folder. But the dbt folder is maneged by meltano.. Such as the profiles settings
s
Hey @Rene Czepluch - I filed a Github issue to host discussion about allowing dashes in Dagster definition names: https://github.com/dagster-io/dagster/issues/16295
r
thanks @sandy I appreciate your help 😄