clipspy-1.0.0/clips/facts.py
def find_defined_facts(self, name: str) -> DefinedFacts:
        """Find the DefinedFacts by its name."""
        dfs = lib.FindDeffacts(self._env, name.encode())
        if dfs == ffi.NULL:
            raise LookupError("DefinedFacts '%s' not found" % name)

        return DefinedFacts(self._env, name)
Find the DefinedFacts by its name.
Find the DefinedFacts by its name.
Find the DefinedFacts by its name .
def find_defined_facts(self, name: str) -> DefinedFacts:
        dfs = lib.FindDeffacts(self._env, name.encode())
        if dfs == ffi.NULL:
            raise LookupError("DefinedFacts '%s' not found" % name)
        return DefinedFacts(self._env, name)
def find_defined_facts ( self , name : str ) -> DefinedFacts : dfs = lib . FindDeffacts ( self . _env , name . encode ( ) ) if dfs == ffi . NULL : raise LookupError ( "DefinedFacts '%s' not found" % name ) return DefinedFacts ( self . _env , name )
Find the DefinedFacts by its name.
Find the DefinedFacts by its name .
"""Find the DefinedFacts by its name."""
self
name
str