def __repr__(self):
document_class_repr = (
'dict' if self.document_class is dict
else repr(self.document_class))
uuid_rep_repr = UUID_REPRESENTATION_NAMES.get(self.uuid_representation,
self.uuid_representation)
return (
'CodecOptions(document_class=%s, tz_aware=%r, uuid_representation='
'%s, unicode_decode_error_handler=%r, tzinfo=%r)' %
(document_class_repr, self.tz_aware, uuid_rep_repr,
self.unicode_decode_error_handler,
self.tzinfo))
评论列表
文章目录