def METHOD_NAME(self, tag):
    self._nbd_export = InternalNBDExportImage(
        self.main_vm, self.params, tag
    ) if self._block_export_uid else QemuNBDExportImage(
        self.params, tag
    )