MCPcopy
hub / github.com/firerpa/lamda / proxy

Method proxy

lamda/client.py:2426–2430  ·  view source on GitHub ↗
(self, module, clazz=None, **kwargs)

Source from the content-addressed store, hash-verified

2424 def stub(self, module):
2425 return self.proxy(module)
2426 def proxy(self, module, clazz=None, **kwargs):
2427 this = sys.modules[__name__]
2428 stub = getattr(services, "{0}Stub".format(module))(self.channel)
2429 wrap = getattr(this, "{0}Stub".format(clazz or module))
2430 return wrap(stub, **kwargs)
2431 # Shortcut: File
2432 def download_fd(self, fpath, fd):
2433 return self.stub("File").download_fd(fpath, fd)

Callers 12

stubMethod · 0.95
ocrMethod · 0.95
install_local_fileMethod · 0.80
current_applicationMethod · 0.80
start_activityMethod · 0.80
applicationMethod · 0.80
__init__Method · 0.80

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected