diff --git a/lib/galaxy/webapps/galaxy/services/history_contents.py b/lib/galaxy/webapps/galaxy/services/history_contents.py index 8ce9db729e45..962f3f2b9d38 100644 --- a/lib/galaxy/webapps/galaxy/services/history_contents.py +++ b/lib/galaxy/webapps/galaxy/services/history_contents.py @@ -663,7 +663,7 @@ def update_batch( hda_ids.append(item.id) else: hdca_ids.append(item.id) - payload_dict = payload.dict(exclude_unset=True) + payload_dict = payload.model_dump(exclude_unset=True) hdas = self.__datasets_for_update(trans, history, hda_ids, payload_dict) rval = [] for hda in hdas: