def read_command(self):
        if not self._incoming_commands:
            return None

        return self._incoming_commands.popleft()
Reads a single command from the command queue
dataset/ETHPy150Open YelpArchive/python-gearman/gearman/connection.py/GearmanConnection.read_command