from_str#
- classmethod DesignStatus.from_str(string: str) DesignStatus#
Convert a string to an instance of the
DesignStatusclass.- Parameters:
- string: str
String to be converted.
- Returns:
DesignStatusInstance of the
DesignStatusclass.
- Raises:
TypeErrorRaised when the type of the
stringis invalid.ValueErrorRaised when the value for the
stringis invalid.