Fixed #131 : Implement ExprToConditions

Fixed #130 : ArithmeticOperatorParser
Fixed #129 : python_wrapper : create_namespace
Fixed #128 : ExpressionParser: Cannot parse func(x) infixed concept 'xxx'
This commit is contained in:
2021-10-13 16:06:57 +02:00
parent a61a1c0d2b
commit 89e1f20975
76 changed files with 5867 additions and 3206 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ class SheerkaMemory(BaseService):
current_list = sorted(current_list, key=lambda o: o.timestamp, reverse=True)
current_objects = [o.obj for o in current_list]
res = self.sheerka.filter_objects(context, current_objects, name_to_use)
res = self.sheerka.filter_objects(context, current_objects, predicate=name_to_use)
if len(res) > 0:
return res[0] # only the first, as it should have a better timestamp