from_str#
- classmethod RegisteredFileUsage.from_str(string: str) RegisteredFileUsage #
Convert string to an instance of the
RegisteredFileUsage
class.- Parameters:
- string: str
String to be converted.
- Returns:
RegisteredFileUsage
Instance of the
RegisteredFileUsage
class.
- Raises:
TypeError
Raised when an invalid type of
string
is given.ValueError
Raised when an invalid value of
string
is given.