Skip to content

Commit fd8984f

Browse files
committed
Convert bool to lower case string for queries
1 parent 6d6b8ba commit fd8984f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/python/package/query.py.twig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,7 @@ class Query:
6262
def parseValues(value):
6363
if type(value) == str:
6464
return f'"{value}"'
65+
elif type(value) == bool:
66+
return str(value).lower()
6567
else:
6668
return str(value)

0 commit comments

Comments
 (0)