def get_action_args(self, request_environment):
        """Parse dictionary created by routes library."""
        try:
            args = request_environment['wsgiorg.routing_args'][1].copy()
        except Exception:
            return {}

        try:
            del args['controller']
        except __HOLE__:
            pass

        try:
            del args['format']
        except KeyError:
            pass

        return args
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/wsgi.py/RequestDeserializer.get_action_args