def on_sess_opened(self, transport):
        self.sess_active += 1

        if transport not in self.sess_transports:
            self.sess_transports[transport] = 0

        self.sess_transports[transport] += 1
dataset/ETHPy150Open benoitc/gaffer/gaffer/sockjs/stats.py/StatsCollector.on_sess_opened/original