code: def flash(self, partition, timeout_ms=None, info_cb=DEFAULT_MESSAGE_CALLBACK):
      
      return self._simple_command('flash', arg=partition, info_cb=info_cb,
                                  timeout_ms=timeout_ms)
docs: Flashes the last downloaded file to the given partition.
  
      Args:
        partition: Partition to flash.
        timeout_ms: Optional timeout in milliseconds to wait for it to finish.
        info_cb: See Download. Usually no messages.
  
      Returns:
        Response to a download request, normally nothing.