def register(self, resource_path, provider):
        self._fail_if_resource_is_already_provided(resource_path, provider)
        self._provider_by_path[resource_path] = provider
Register that the resource identified by *resource_path* is provided by *provider*.
dataset/ETHPy150Open foundit/Piped/piped/resource.py/ResourceManager.register