diff --git a/zipline/protocol.py b/zipline/protocol.py index 53c8a303..184988ec 100644 --- a/zipline/protocol.py +++ b/zipline/protocol.py @@ -45,3 +45,6 @@ class Event(object): def __eq__(self, other): return self.__dict__ == other.__dict__ + + def __repr__(self): + return "Event({0})".format(self.__dict__)