MCPcopy Index your code
hub / github.com/feast-dev/feast / DbtModel

Class DbtModel

sdk/python/feast/dbt/parser.py:28–45  ·  view source on GitHub ↗

Represents a dbt model.

Source from the content-addressed store, hash-verified

26
27@dataclass
28class DbtModel:
29 """Represents a dbt model."""
30
31 name: str
32 unique_id: str
33 database: str
34 schema: str
35 alias: str
36 description: str = ""
37 columns: List[DbtColumn] = field(default_factory=list)
38 tags: List[str] = field(default_factory=list)
39 meta: Dict[str, Any] = field(default_factory=dict)
40 depends_on: List[str] = field(default_factory=list)
41
42 @property
43 def full_table_name(self) -> str:
44 """Returns fully qualified table name (database.schema.table)."""
45 return f"{self.database}.{self.schema}.{self.alias}"
46
47
48class DbtManifestParser:

Callers 5

_make_modelFunction · 0.90
test_model_defaultsMethod · 0.90
sample_modelFunction · 0.90

Calls

no outgoing calls

Tested by 4

_make_modelFunction · 0.72
test_model_defaultsMethod · 0.72
sample_modelFunction · 0.72