from_str#

classmethod DesignStatus.from_str(string: str) DesignStatus#

Convert a string to an instance of the DesignStatus class.

Parameters:
string: str

String to be converted.

Returns:
DesignStatus

Instance of the DesignStatus class.

Raises:
TypeError

Raised when the type of the string is invalid.

ValueError

Raised when the value for the string is invalid.