|
@@ -47,6 +47,11 @@ class attr_dict(dict):
|
|
|
return attr_dict(res)
|
|
|
return res
|
|
|
|
|
|
+ def __getstate__(self): return self.__dict__
|
|
|
+
|
|
|
+ def __setstate__(self, d): self.__dict__.update(d)
|
|
|
+
|
|
|
+
|
|
|
class _MetaInfo(object):
|
|
|
def __init__(self, **kwargs):
|
|
|
for name, value in kwargs.items():
|