MCPcopy
hub / github.com/dnhkng/GLaDOS / has

Method has

glados/whisper_cpp_wrapper.py:524–528  ·  view source on GitHub ↗

Return True if this given calling convention finds the given 'name

(self, name, calling_convention="cdecl")

Source from the content-addressed store, hash-verified

522 return getattr(self.access[calling_convention], name)
523
524 def has(self, name, calling_convention="cdecl"):
525 """Return True if this given calling convention finds the given 'name'"""
526 if calling_convention not in self.access:
527 return False
528 return hasattr(self.access[calling_convention], name)
529
530 def __getattr__(self, name):
531 return getattr(self.access["cdecl"], name)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected