def register_inverse_path(self, model, path, factory_args,
                              converters=None, absorb=False):
        converters = converters or {}
        get_path = Path(path, factory_args, converters, absorb)

        self.reg_registry.register_function(generic.class_path, get_path,
                                            model=model)

        def default_path_variables(obj):
            return {name: getattr(obj, name) for name in factory_args}
        self.reg_registry.register_function(generic.default_path_variables,
                                            default_path_variables,
                                            obj=model)
Register information for link generation.
dataset/ETHPy150Open morepath/morepath/morepath/path.py/PathRegistry.register_inverse_path