diff --git a/core/dbt/parser/schema_yaml_readers.py b/core/dbt/parser/schema_yaml_readers.py index c1c699529a3..032b3a8b99d 100644 --- a/core/dbt/parser/schema_yaml_readers.py +++ b/core/dbt/parser/schema_yaml_readers.py @@ -36,7 +36,7 @@ from dbt.exceptions import DbtInternalError, YamlParseDictError, JSONValidationError from dbt.context.providers import generate_parse_exposure, generate_parse_semantic_models -from dbt.contracts.graph.model_config import MetricConfig, ExposureConfig, SemanticModelConfig +from dbt.contracts.graph.model_config import MetricConfig, ExposureConfig from dbt.context.context_config import ( BaseContextConfigGenerator, ContextConfigGenerator, @@ -570,11 +570,6 @@ def parse_semantic_model(self, unparsed: UnparsedSemanticModel): rendered=False, ) - if not isinstance(config, SemanticModelConfig): - raise DbtInternalError( - f"Calculated a {type(config)} for a semantic model, but expected a SemanticModelConfig" - ) - parsed = SemanticModel( description=unparsed.description, fqn=fqn,