File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,8 @@ class SQLMeshContextConfig(Config):
26
26
gateway : str
27
27
config_override : dict [str , Any ] | None = Field (default_factory = lambda : None )
28
28
29
-
30
29
@property
31
30
def sqlmesh_config (self ) -> MeshConfig | None :
32
31
if self .config_override :
33
32
return MeshConfig .parse_obj (self .config_override )
34
- return None
35
-
33
+ return None
Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ def notify_success(
146
146
# We allow selecting models. That value is mapped to models_map.
147
147
# If the model is not in models_map, we can skip any notification
148
148
if model :
149
- output_key = self .translator .get_asset_key_str (model .name )
149
+ # Passing model.fqn to translator
150
+ output_key = self .translator .get_asset_key_str (model .fqn )
150
151
asset_key = self ._context .asset_key_for_output (output_key )
151
152
yield MaterializeResult (
152
153
asset_key = asset_key ,
@@ -302,7 +303,7 @@ def run(
302
303
models_map = {}
303
304
for key , model in models .items ():
304
305
if (
305
- translator .get_sqlmesh_model_name_from_key_str (model .name )
306
+ translator .get_asset_key_str (model .fqn )
306
307
in context .selected_output_names
307
308
):
308
309
models_map [key ] = model
You can’t perform that action at this time.
0 commit comments