def read(self):
        if self.is_connected():
            if len(self.inbound) > 0:
                data = self.inbound[0]
                self.inbound = self.inbound[1:]
                return data
        return None
dataset/ETHPy150Open Raeon/pygar/session.py/Session.read/original