Tuple¶
- class audobject.resolver.Tuple[source]¶
Tuple resolver.
Encodes tuple as a list.
Examples
>>> resolver = Tuple() >>> value = (1, 'a') >>> value (1, 'a') >>> encoded_value = resolver.encode(value) >>> encoded_value [1, 'a'] >>> decoded_value = resolver.decode(encoded_value) >>> decoded_value (1, 'a')