From ae7a8de5777739d84985d28f58446216de0665e4 Mon Sep 17 00:00:00 2001 From: Alkid Date: Thu, 31 Oct 2024 14:10:37 +0100 Subject: [PATCH] cache disabled before reset --- owlapy/owl_reasoner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlapy/owl_reasoner.py b/owlapy/owl_reasoner.py index 3c930fd..211460d 100644 --- a/owlapy/owl_reasoner.py +++ b/owlapy/owl_reasoner.py @@ -1025,9 +1025,9 @@ def _retrieve_triples(self, pe: OWLPropertyExpression) -> Iterable: yield from relations def reset_and_disable_cache(self): - self.reset() self.class_cache = False self._property_cache = False + self.reset() class SyncReasoner(AbstractOWLReasoner):