Skip to content

Commit

Permalink
fix f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtmccarty committed Nov 19, 2024
1 parent 14327a9 commit c314b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/infrahub/core/branch/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def get_query_filter_path(
at_str = at.to_string()
if branch_agnostic:
filter_str = (
"{variable_name}.from <= $time1 AND ({variable_name}.to IS NULL or {variable_name}.to >= $time1)"
f"{variable_name}.from <= $time1 AND ({variable_name}.to IS NULL or {variable_name}.to >= $time1)"
)
params["time1"] = at_str
return filter_str, params
Expand Down

0 comments on commit c314b19

Please sign in to comment.