diff --git a/retworkx/namespace.py b/retworkx/namespace.py index a7c6e606e..06ccfbda0 100644 --- a/retworkx/namespace.py +++ b/retworkx/namespace.py @@ -43,6 +43,12 @@ def __init__(self, new_package, old_namespace): def module_repr(self, module): return repr(module) + def create_module(self, spec): + return self.load_module(spec.name) + + def exec_module(self, module): + pass + def load_module(self, fullname): old_name = fullname fullname = _new_namespace(fullname, self.old_namespace, self.new_package)