mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 10:43:09 +08:00
ENH: Updated naming scheme of serialization methods.
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ class Account(object):
|
||||
def __repr__(self):
|
||||
return "Account({0})".format(self.__dict__)
|
||||
|
||||
def _serialize(self):
|
||||
def _get_state(self):
|
||||
return 'Account', self.__dict__
|
||||
|
||||
def _reconstruct(self, saved_state):
|
||||
|
||||
Reference in New Issue
Block a user