from_str#

classmethod ResponseValueType.from_str(string: str) ResponseValueType#

Convert string to ResponseValueType.

Parameters:
string: str

String that shall be converted.

Returns:
ResponseValueType

Instance of the ResponseValueType class.

Raises:
TypeError

Raised when invalid type of string was given.

ValueError

Raised when invalid value of string was given.