from_str#

static DesignFlow.from_str(string: str) DesignFlow#

Convert string to an instance of the DesignFlow class.

Parameters:
string: str

String to be converted.

Returns:
DesignFlow

Instance of the DesignFlow class.

Raises:
TypeError

Raised when an invalid type of string is given.

ValueError

Raised when an invalid value of string is given.