Skip to content

Commit

Permalink
fix: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-salvi-apptware committed Jan 8, 2025
1 parent 36f746f commit 4ef052f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ def replace_parameters(match):
if key in self.source_config.lookml_parameter:
return str(self.source_config.lookml_parameter.get(key))

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

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

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

Expand Down Expand Up @@ -455,7 +453,7 @@ def process_lookml_template_language(
), # Now resolve liquid variables
LookmlParameterTransformer(
source_config=source_config
), # Remove @{variable} with its corresponding value
), # Remove @{param}/${var} with its corresponding value
DropDerivedViewPatternTransformer(
source_config=source_config
), # Remove any ${} symbol
Expand Down

0 comments on commit 4ef052f

Please sign in to comment.