Skip to content

Commit

Permalink
Merge pull request #16284 from nsoranzo/release_23.0_fix_python3.11
Browse files Browse the repository at this point in the history
[23.0] Fix converting Enum value to str for Python 3.11
  • Loading branch information
mvdbeek committed Jun 21, 2023
2 parents 0f4db94 + 25398bf commit bd6b2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/services/invocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def serialize_workflow_invocation(
view = params.view or default_view
step_details = params.step_details
legacy_job_state = params.legacy_job_state
as_dict = invocation.to_dict(view, step_details=step_details, legacy_job_state=legacy_job_state)
as_dict = invocation.to_dict(view.value, step_details=step_details, legacy_job_state=legacy_job_state)
as_dict = self.security.encode_all_ids(as_dict, recursive=True)
as_dict["messages"] = [
InvocationMessageResponseModel.parse_obj(message).__root__.dict() for message in invocation.messages
Expand Down

0 comments on commit bd6b2e8

Please sign in to comment.