def dispatch(self, *args, **kwargs):
        action = kwargs.pop('action', 'default')
        action_method = getattr(self, str(action), self.default)
        return action_method(*args, **kwargs)
Find and call local method.
dataset/ETHPy150Open openstack/rack/rack/api/wsgi.py/ActionDispatcher.dispatch