Load a remote module, the file need to be uploaded first. Parameters ---------- path : str The relative location to remote temp folder. Returns ------- m : Module The remote module containing remote function.
(self, path)
| 165 | return self._remote_funcs["listdir"](path) |
| 166 | |
| 167 | def load_module(self, path): |
| 168 | """Load a remote module, the file need to be uploaded first. |
| 169 | |
| 170 | Parameters |
| 171 | ---------- |
| 172 | path : str |
| 173 | The relative location to remote temp folder. |
| 174 | |
| 175 | Returns |
| 176 | ------- |
| 177 | m : Module |
| 178 | The remote module containing remote function. |
| 179 | """ |
| 180 | return _ffi_api.LoadRemoteModule(self._sess, path) |
| 181 | |
| 182 | def download_linked_module(self, path): |
| 183 | """Link a module in the remote and download it. |
no outgoing calls