Add module to the import list of current one. Parameters ---------- module : Module The other module.
(self, module)
| 123 | return Function(ret_handle, False) |
| 124 | |
| 125 | def import_module(self, module): |
| 126 | """Add module to the import list of current one. |
| 127 | |
| 128 | Parameters |
| 129 | ---------- |
| 130 | module : Module |
| 131 | The other module. |
| 132 | """ |
| 133 | check_call(_LIB.DGLModImport(self.handle, module.handle)) |
| 134 | |
| 135 | def __getitem__(self, name): |
| 136 | if not isinstance(name, string_types): |
no test coverage detected