(self, module, clazz=None, **kwargs)
| 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) |
no test coverage detected