Skip to content

Commit 8237f3c

Browse files
committed
Chore: Cosmetic fix
1 parent d01736e commit 8237f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmesh/core/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def update_model_schemas(dag: DAG[str], models: UniqueKeyDict[str, Model]) -> No
4848
if not model:
4949
continue
5050

51-
external = any(dep not in models for dep in model.depends_on)
5251
model.update_schema(schema)
5352
schema.add_table(name, model.columns_to_types, dialect=model.dialect)
5453

54+
external = any(dep not in models for dep in model.depends_on)
5555
if external:
5656
if "*" in model.columns_to_types:
5757
raise ConfigError(

0 commit comments

Comments
 (0)