From 589c014f73670567ad39f8582d87d8946e683d2d Mon Sep 17 00:00:00 2001 From: Delaney Granizo-Mackenzie Date: Wed, 29 Oct 2014 14:15:04 -0400 Subject: [PATCH] ENH: Updated naming scheme of serialization methods. --- zipline/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/protocol.py b/zipline/protocol.py index 9ae54381..6b4fb999 100644 --- a/zipline/protocol.py +++ b/zipline/protocol.py @@ -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):