def as_db_get(self, db_number):
        """
        This is the asynchronous counterpart of Cli_DBGet.
        """
        logging.debug(db_number % "db_get db_number: %s")
        _buffer = buffer_type()
        result = self.library.Cli_AsDBGet(self.pointer, db_number,
                                          byref(_buffer),
                                          byref(c_int(buffer_size)))
        check_error(result, context="client")
        return bytearray(_buffer)
dataset/ETHPy150Open gijzelaerr/python-snap7/snap7/client.py/Client.as_db_get/swapped operands of `%`