[docs]classDbtSource(Dbt):"""Description"""type_name:str=Field(default="DbtSource",allow_mutation=False)@validator("type_name")defvalidate_type_name(cls,v):ifv!="DbtSource":raiseValueError("must be DbtSource")returnvdef__setattr__(self,name,value):ifnameinDbtSource._convenience_properties:returnobject.__setattr__(self,name,value)super().__setattr__(name,value)DBT_STATE:ClassVar[KeywordField]=KeywordField("dbtState","dbtState")""" State of the dbt source. """DBT_FRESHNESS_CRITERIA:ClassVar[TextField]=TextField("dbtFreshnessCriteria","dbtFreshnessCriteria")""" Freshness criteria for the dbt source. """SQL_ASSETS:ClassVar[RelationField]=RelationField("sqlAssets")""" TBC """DBT_TESTS:ClassVar[RelationField]=RelationField("dbtTests")""" TBC """SQL_ASSET:ClassVar[RelationField]=RelationField("sqlAsset")""" TBC """_convenience_properties:ClassVar[List[str]]=["dbt_state","dbt_freshness_criteria","sql_assets","dbt_tests","sql_asset",]@propertydefdbt_state(self)->Optional[str]:returnNoneifself.attributesisNoneelseself.attributes.dbt_state@dbt_state.setterdefdbt_state(self,dbt_state:Optional[str]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.dbt_state=dbt_state@propertydefdbt_freshness_criteria(self)->Optional[str]:return(Noneifself.attributesisNoneelseself.attributes.dbt_freshness_criteria)@dbt_freshness_criteria.setterdefdbt_freshness_criteria(self,dbt_freshness_criteria:Optional[str]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.dbt_freshness_criteria=dbt_freshness_criteria@propertydefsql_assets(self)->Optional[List[SQL]]:returnNoneifself.attributesisNoneelseself.attributes.sql_assets@sql_assets.setterdefsql_assets(self,sql_assets:Optional[List[SQL]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.sql_assets=sql_assets@propertydefdbt_tests(self)->Optional[List[DbtTest]]:returnNoneifself.attributesisNoneelseself.attributes.dbt_tests@dbt_tests.setterdefdbt_tests(self,dbt_tests:Optional[List[DbtTest]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.dbt_tests=dbt_tests@propertydefsql_asset(self)->Optional[SQL]:returnNoneifself.attributesisNoneelseself.attributes.sql_asset@sql_asset.setterdefsql_asset(self,sql_asset:Optional[SQL]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.sql_asset=sql_assetclassAttributes(Dbt.Attributes):dbt_state:Optional[str]=Field(default=None,description="")dbt_freshness_criteria:Optional[str]=Field(default=None,description="")sql_assets:Optional[List[SQL]]=Field(default=None,description="")# relationshipdbt_tests:Optional[List[DbtTest]]=Field(default=None,description="")# relationshipsql_asset:Optional[SQL]=Field(default=None,description="")# relationshipattributes:DbtSource.Attributes=Field(default_factory=lambda:DbtSource.Attributes(),description=("Map of attributes in the instance and their values. ""The specific keys of this map will vary by type, ""so are described in the sub-types of this schema."),)