Exemple #1
0
 def assert_fact(self, fact):
     return self._handle_result(
         rules.assert_fact(self._handle, json.dumps(fact,
                                                    ensure_ascii=False)),
         fact)
Exemple #2
0
 def assert_fact(self, fact):
     return rules.assert_fact(self._handle, json.dumps(fact))
Exemple #3
0
 def assert_fact(self, fact):
     return rules.assert_fact(self._handle, json.dumps(fact, ensure_ascii=False))
Exemple #4
0
 def assert_fact(self, fact):
     rules.assert_fact(self._handle, json.dumps(fact))