def METHOD_NAME(self) -> Dict[str, Union[str, int, List[Any], Dict[Any, Any]]]:
    """Gives the parameters as mapping of parameter name to the parameter value, which can be
    a single object of type :obj:`int`, :obj:`float`, :obj:`str` or :obj:`bool` or any
    (possibly nested) composition of lists, tuples and dictionaries, where each entry, key
    and value is of one of the mentioned types.
    """
    return {
        param.name: param.value  # type: ignore[misc]
        for param in self._parameters
        if param.value is not None
    }