Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ParsedSeriesPostProcessor(ValueCompositePostProcessor):
- def __init__(self):
- self.others = []
- self.parsed_series_tp = []
- def _post_process (self, tp, table):
- if (tp['series_id'], tp['date']) in self.parsed_series_tp:
- return []
- self.parsed_series_tp.append((tp['series_id'], tp['date']))
- return [tp]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement