def add_backend(self, name, module_name, config=None):

        cls = BackendBase.find(module_name)
        if cls is None: return None

        config = self._clean_backend_config(config or {})
        backend = cls(self, name, **config)
        self.backends[name] = backend
        return backend
Validate data for a new child resource.
dataset/ETHPy150Open rapidsms/rapidsms-core-dev/lib/rapidsms/router.py/Router.add_backend--crossover with--dataset/ETHPy150Open wichert/rest_toolkit/src/rest_toolkit/abc.py/CollectionResource.validate_child