From 677f5ecde09860d5e5b115e669d31c591f131dba Mon Sep 17 00:00:00 2001 From: Brian Fink Date: Wed, 29 Oct 2014 13:41:15 -0400 Subject: [PATCH] BUG: Hide account methods from repr --- zipline/protocol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipline/protocol.py b/zipline/protocol.py index e746dedb..9ae54381 100644 --- a/zipline/protocol.py +++ b/zipline/protocol.py @@ -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)