fix(query): Typo in OPERATOR_MAP
This commit is contained in:
parent
b99cd7ab3b
commit
69df3edba3
2 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ OPERATOR_MAP = {
|
|||
"<": operator.lt,
|
||||
">": operator.gt,
|
||||
"<=": operator.le,
|
||||
"=>": operator.le,
|
||||
"=<": operator.le,
|
||||
">=": operator.ge,
|
||||
"=>": operator.ge,
|
||||
"in": func_in,
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ def get_monthly_goal_graph_data(
|
|||
:return: dict of graph data
|
||||
"""
|
||||
if isinstance(filter_str, str):
|
||||
frappe.throw("String filters have been deprecated. Pass Dict filters instead.", exc=DeprecationWarning)
|
||||
frappe.throw("String filters have been deprecated. Pass Dict filters instead.", exc=DeprecationWarning) # nosemgrep
|
||||
|
||||
doc = frappe.get_doc(doctype, docname)
|
||||
doc.check_permission()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue