Source code for pbpstats.resources.enhanced_pbp.replay

[docs]class Replay(object): """ Class for replay events """ event_type = 18 @property def support_ruling(self): return self.event_action_type == 4 @property def overturn_ruling(self): return self.event_action_type == 5 @property def ruling_stands(self): return self.event_action_type == 6 @property def event_stats(self): """ returns list of dicts with all stats for event """ return self.base_stats