from_str#
- classmethod RegisteredFileUsage.from_str(string: str) RegisteredFileUsage#
Convert string to an instance of the
RegisteredFileUsageclass.- Parameters:
- string: str
String to be converted.
- Returns:
RegisteredFileUsageInstance of the
RegisteredFileUsageclass.
- Raises:
TypeErrorRaised when an invalid type of
stringis given.ValueErrorRaised when an invalid value of
stringis given.