Skip to content

Commit

Permalink
Allow JobDestinationParams return to include extra admin-defined fiel…
Browse files Browse the repository at this point in the history
…ds instead of trimming to just the defined 3. This is admin-only anyway, it's safe.
  • Loading branch information
dannon committed Dec 14, 2023
1 parent 2daff04 commit 6ae573d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/galaxy/schema/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ class JobDestinationParams(Model):
None, title="Handler", description="Name of the process that handled the job.", alias="Handler"
)

class Config:
extra = Extra.allow # JobDestinationParams can have extra fields


class JobOutput(Model):
label: Any = Field(default=Required, title="Output label", description="The output label") # check if this is true
Expand Down

0 comments on commit 6ae573d

Please sign in to comment.