fmeobjects.FMETransformer.getParsedParamValue

FMETransformer.getParsedParamValue()

getParsedParamValue(paramName),

Returns parsed parameter value for the specified parameter name. If the parameter value was not set on the transformer, then the default value is returned.

If the parameter value set on the transformer cannot be scoped to the required parameter type, then a ValueError will be raised. In such a case, the caller should reference the parameter value they set on the transformer for the original parameter value.

Parameters:

paramName (str) – Parameter name of value to retrieve.

Return type:

bool, int, float, str, bytes, None, list[bool, int, float, str, bytes, None]

Returns:

The parsed parameter value.

Raises:
  • ValueError – Raised when the parameter value cannot be scoped to the required parameter type.

  • TypeError – Raised when the parameter value type is not supported.

  • KeyError – Raised when a parameter value does not exist for the parameter name.