Skip to content

Commit

Permalink
Make some fields truly optional
Browse files Browse the repository at this point in the history
  • Loading branch information
heisner-tillman committed Dec 18, 2023
1 parent 04a9df0 commit 8130610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/schema/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class EncodedDatasetJobInfo(EncodedDataItemSourceId):

class EncodedJobDetails(JobSummary):
command_version: Optional[str] = Field(
...,
default=None,
title="Command Version",
description="Tool version indicated during job execution.",
)
Expand All @@ -182,7 +182,7 @@ class EncodedJobDetails(JobSummary):
description="Dictionary mapping all the tool outputs (by name) to the corresponding data references.",
)
copied_from_job_id: Optional[EncodedDatabaseIdField] = Field(
default=Required,
default=None,
title="Copied from Job-ID",
description="Reference to cached job if job execution was cached.",
)
Expand Down

0 comments on commit 8130610

Please sign in to comment.