mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-05 03:54:13 +08:00
BUG: Hide account methods from repr
This commit is contained in:
+2
-2
@@ -165,10 +165,10 @@ class Account(object):
|
||||
def __repr__(self):
|
||||
return "Account({0})".format(self.__dict__)
|
||||
|
||||
def serialize(self):
|
||||
def _serialize(self):
|
||||
return 'Account', self.__dict__
|
||||
|
||||
def reconstruct(self, saved_state):
|
||||
def _reconstruct(self, saved_state):
|
||||
self.__dict__.update(saved_state)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user