Skip to content

Commit

Permalink
Replace deprecated model.dict with model.model_dump
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Mar 19, 2024
1 parent b7f3c66 commit df60d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/services/history_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit df60d8e

Please sign in to comment.