(self, criteria, updates)
| 25 | return await self.__loaded_knowledge_module._add_fact(fact, constraints) |
| 26 | |
| 27 | async def update_fact(self, criteria, updates): |
| 28 | await self.get_service('event_svc').fire_event(exchange='fact', queue='updated', criteria=criteria, updates=updates) |
| 29 | return await self.__loaded_knowledge_module._update_fact(criteria, updates) |
| 30 | |
| 31 | async def get_facts(self, criteria, restrictions=None): |
| 32 | return await self.__loaded_knowledge_module._get_facts(criteria, restrictions) |