Fixed #72 : Exception when get_results(id=10)
Fixed #74 : Keyword parameters are no longer recognized when a concept that redefines equality is created Fixed #118 : RecursionError: maximum recursion depth exceeded Fixed #119 : PreventCircularReferenceEvaluator Fixed #121 : Plural are not updated when new elements are added Fixed #123 : BaseCache : Values in cache can be evicted before being committed Fixed #105 : TOO_MANY_ERROR is not the relevant error when results are filtered
This commit is contained in:
@@ -532,7 +532,7 @@ def get_lexer_nodes(return_values, start, tokens):
|
||||
lexer_nodes.append([RuleNode(rule, start, end, tokens, ret_val.body.source)])
|
||||
|
||||
else:
|
||||
raise NotImplementedError()
|
||||
raise NotImplementedError(f"get_lexer_nodes who={who}")
|
||||
|
||||
return lexer_nodes
|
||||
|
||||
@@ -605,7 +605,7 @@ def get_lexer_nodes_using_positions(return_values, positions):
|
||||
lexer_nodes.append(node)
|
||||
|
||||
else:
|
||||
raise NotImplementedError()
|
||||
raise NotImplementedError(f"get_lexer_nodes_using_positions {who=}")
|
||||
|
||||
return lexer_nodes
|
||||
|
||||
@@ -692,7 +692,7 @@ def update_compiled(context, concept, errors, parsers=None):
|
||||
|
||||
elif isinstance(v, SourceCodeNode):
|
||||
if not v.return_value:
|
||||
raise NotImplementedError("SourceCodeNode")
|
||||
raise NotImplementedError("_validate_concept SourceCodeNode ret val is False")
|
||||
c.get_compiled()[k] = [v.return_value]
|
||||
|
||||
elif isinstance(v, SourceCodeWithConceptNode):
|
||||
|
||||
Reference in New Issue
Block a user