We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ExternalModel
kind
ExternalKind()
1 parent 8efc553 commit d719391Copy full SHA for d719391
sqlmesh/core/model/definition.py
@@ -34,6 +34,7 @@
34
)
35
from sqlmesh.core.model.meta import ModelMeta
36
from sqlmesh.core.model.kind import (
37
+ ExternalKind,
38
ModelKindName,
39
SeedKind,
40
ModelKind,
@@ -1969,6 +1970,7 @@ def _data_hash_values_no_sql(self) -> t.List[str]:
1969
1970
class ExternalModel(_Model):
1971
"""The model definition which represents an external source/table."""
1972
1973
+ kind: ModelKind = ExternalKind()
1974
source_type: t.Literal["external"] = "external"
1975
1976
def is_breaking_change(self, previous: Model) -> t.Optional[bool]:
0 commit comments