def get_resource(self, path):
        # First, see if there is a custom dispatch at this URI. Custom
        # dispatchers can only be specified in app.config, not in _cp_config
        # (since custom dispatchers may not even have an app.root).
        dispatch = self.app.find_config(path, "request.dispatch", self.dispatch)

        # dispatch() should set self.handler and self.config
        dispatch(path)
Call a dispatcher (which sets self.handler and .config). (Core)
dataset/ETHPy150Open clips/pattern/pattern/server/cherrypy/cherrypy/_cprequest.py/Request.get_resource