'Returns a map of parameter names and values if the tool does not
require any user input. Will raise an exception if any parameter
does require input.'

def get_static_param_values(self, trans):

    args = dict()
    for (key, param) in self.inputs.items():
        if isinstance(param, BaseURLToolParameter):
            args[key] = param.get_initial_value(trans, None)
        elif isinstance(param, HiddenToolParameter):
            args[key] = model.User.expand_user_properties(trans.user, param.value)
        else:
            raise Exception('Unexpected    parameter    type')
    return args
