from_str#
- classmethod ParameterValueType.from_str(string: str) ParameterValueType #
Convert string to ParameterValueType.
- Parameters:
- string: str
String that shall be converted.
- Returns:
ParameterValueType
Instance of the
ParameterValueType
class.
- Raises:
TypeError
Raised when invalid type of
string
was given.ValueError
Raised when invalid value of
string
was given.