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

Method __call__

glados/whisper_cpp_wrapper.py:415–422  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

413 return self.func
414
415 def __call__(self, *args):
416 fixed_args = []
417 i = 0
418 for argtype in self.argtypes:
419 # Typecheck what we can
420 fixed_args.append(argtype.from_param(args[i]))
421 i += 1
422 return self.func(*fixed_args + list(args[i:]))
423
424
425def ord_if_char(value):

Callers

nothing calls this directly

Calls 1

from_paramMethod · 0.80

Tested by

no test coverage detected