Skip to content

Commit

Permalink
fix: number type variable with value 0 (pinterest#1154)
Browse files Browse the repository at this point in the history
  • Loading branch information
jczhong84 authored and aidenprice committed Jan 3, 2024
1 parent 0144666 commit 804f5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion querybook/server/lib/query_analysis/templating.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def flatten_recursive_variables(
variables_dag = {}

for key, value in raw_variables.items():
if not value:
if value is None:
value = ""

# check if a string has any custom global functions or raw variables
Expand Down

0 comments on commit 804f5a1

Please sign in to comment.