fix: Explicitly ignore semgrep warning

This commit is contained in:
Suraj Shetty 2021-12-07 16:40:45 +05:30 committed by GitHub
parent aa855afe08
commit 99defea410
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ def patch_query_execute():
"""
def execute_query(query, *args, **kwargs):
query, params = prepare_query(query)
return frappe.db.sql(query, params, *args, **kwargs)
return frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
def prepare_query(query):
params = {}