Properly handle solutions not found.
This commit is contained in:
parent
1ded981099
commit
712503804d
2 changed files with 6 additions and 4 deletions
|
@ -11,4 +11,6 @@ class ParsingLayer:
|
|||
assert False
|
||||
|
||||
def process(self, knowledge_base, input):
|
||||
yield from parsing.get_fit(knowledge_base, input)
|
||||
fit = parsing.get_fit(knowledge_base, input)
|
||||
if fit is not None:
|
||||
yield fit
|
Loading…
Add table
Add a link
Reference in a new issue