示例#1
0
 def __new__(metatype, name, bases, namespace):
     cls = type.__new__(metatype, name, bases, namespace)
     cls.surrogate = identify_object(cls)
     return cls
示例#2
0
 def __new__(metatype, name, bases, namespace):
     cls = type.__new__(metatype, name, bases, namespace)
     cls.surrogate = identify_object(cls)
     return cls
示例#3
0
 def _serialize_value(self, value):
     return identify_object(value)
示例#4
0
 def _serialize_value(self, value):
     return identify_object(value)