Edit on GitHub

sqlmesh.dbt.relation

1from sqlmesh.dbt.util import DBT_VERSION
2
3
4if DBT_VERSION >= (1, 8, 0):
5    from dbt.adapters.contracts.relation import *  # type: ignore # noqa: F403
6else:
7    from dbt.contracts.relation import *  # type: ignore  # noqa: F403