def __init__(self, redis_conn, signature=None, cat_id=None, event=None):
        self.conn = redis_conn

        if signature:
            self.cat_id = redis_util.Redis.construct_cat_id(signature)
        elif cat_id:
            self.cat_id = cat_id
        else:
            self.cat_id = None

        self.timeseries, self.events = None, None

        if self.cat_id:
            self.timeseries = TimeSeries(self.conn, self.cat_id)
            self.events = Events(self.conn, self.cat_id)

        if event and self.events:
            self.events.add_event(event)
Init.
dataset/ETHPy150Open gmcquillan/firetower/firetower/category.py/Category.__init__