Skip to content

Commit 4ef052f

Browse files
fix: minor change
1 parent 36f746f commit 4ef052f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

metadata-ingestion/src/datahub/ingestion/source/looker/looker_template_language.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ def replace_parameters(match):
362362
if key in self.source_config.lookml_parameter:
363363
return str(self.source_config.lookml_parameter.get(key))
364364

365-
# Log warning for missing parameter
366365
logger.warning(f"Parameter '@{{{key}}}' not found in configuration.")
367366
return ""
368367

@@ -372,7 +371,6 @@ def replace_liquid_variables(match):
372371
if key in self.source_config.liquid_variable:
373372
return str(self.source_config.liquid_variable.get(key))
374373

375-
# Log warning for missing liquid variable
376374
logger.warning(f"Liquid variable '${{{key}}}' not found in configuration.")
377375
return ""
378376

@@ -455,7 +453,7 @@ def process_lookml_template_language(
455453
), # Now resolve liquid variables
456454
LookmlParameterTransformer(
457455
source_config=source_config
458-
), # Remove @{variable} with its corresponding value
456+
), # Remove @{param}/${var} with its corresponding value
459457
DropDerivedViewPatternTransformer(
460458
source_config=source_config
461459
), # Remove any ${} symbol

0 commit comments

Comments
 (0)