Type¶
- class audobject.resolver.Type[source]¶
Type resolver.
Encodes type as a string.
Examples
>>> resolver = Type() >>> value = str >>> value <class 'str'> >>> encoded_value = resolver.encode(value) >>> encoded_value 'str' >>> decoded_value = resolver.decode(encoded_value) >>> decoded_value <class 'str'>