Skip to content

Commit c59288b

Browse files
Rename migration script; add comment; rebase
1 parent 7fa517e commit c59288b

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

sqlmesh/core/model/definition.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,6 +1907,7 @@ def create_models_from_blueprints(
19071907
else:
19081908
gateway_name = None
19091909

1910+
# We pop to avoid pydantic validation issues since catalogs is not a model property
19101911
if (
19111912
(catalogs := loader_kwargs.pop("catalogs", None))
19121913
and gateway_name

sqlmesh/migrations/v0078_add_gateway_managed_property.py renamed to sqlmesh/migrations/v0079_add_gateway_managed_property.py

File renamed without changes.

0 commit comments

Comments
 (0)