Skip to content

Commit 71d3617

Browse files
committed
feat: update python query classes
1 parent e4511dd commit 71d3617

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

templates/python/package/query.py.twig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ class Query:
88
return Query.addQuery(attribute, "notEqual", value)
99

1010
@staticmethod
11-
def lesser(attribute, value):
12-
return Query.addQuery(attribute, "lesser", value)
11+
def lessThan(attribute, value):
12+
return Query.addQuery(attribute, "lessThan", value)
1313

1414
@staticmethod
15-
def lesserEqual(attribute, value):
16-
return Query.addQuery(attribute, "lesserEqual", value)
15+
def lessThanEqual(attribute, value):
16+
return Query.addQuery(attribute, "lessThanEqual", value)
1717

1818
@staticmethod
19-
def greater(attribute, value):
20-
return Query.addQuery(attribute, "greater", value)
19+
def greaterThan(attribute, value):
20+
return Query.addQuery(attribute, "greaterThan", value)
2121

2222
@staticmethod
23-
def greaterEqual(attribute, value):
24-
return Query.addQuery(attribute, "greaterEqual", value)
23+
def greaterThanEqual(attribute, value):
24+
return Query.addQuery(attribute, "greaterThanEqual", value)
2525

2626
@staticmethod
2727
def search(attribute, value):

0 commit comments

Comments
 (0)