Skip to content

Commit

Permalink
Fix job search when command_version is None
Browse files Browse the repository at this point in the history
Fix 500 response when searching jobs via API as seen in BioBlend
tests on release_23.2 and dev, e.g.:

https://github.com/galaxyproject/bioblend/actions/runs/7090125691/job/19296402084#step:10:3256

Broken in galaxyproject#16778 .
  • Loading branch information
nsoranzo committed Dec 4, 2023
1 parent fda9235 commit 06a5d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/schema/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class EncodedDatasetJobInfo(EncodedDataItemSourceId):


class EncodedJobDetails(JobSummary):
command_version: str = Field(
command_version: Optional[str] = Field(
...,
title="Command Version",
description="Tool version indicated during job execution.",
Expand Down

0 comments on commit 06a5d2e

Please sign in to comment.