Skip to content

Commit

Permalink
Merge branch 'release_24.1' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Sep 7, 2024
2 parents 0e4e03a + 5b4d8a1 commit 8d9fc6b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
18 changes: 6 additions & 12 deletions client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11170,8 +11170,7 @@ export interface components {
*/
tool_version?: string | null;
/**
* Type
* @constant
* @description discriminator enum property added by openapi-typescript
* @enum {string}
*/
type: "data_collection_input";
Expand Down Expand Up @@ -11213,8 +11212,7 @@ export interface components {
*/
tool_version?: string | null;
/**
* Type
* @constant
* @description discriminator enum property added by openapi-typescript
* @enum {string}
*/
type: "data_input";
Expand Down Expand Up @@ -11256,8 +11254,7 @@ export interface components {
*/
tool_version?: string | null;
/**
* Type
* @constant
* @description discriminator enum property added by openapi-typescript
* @enum {string}
*/
type: "parameter_input";
Expand Down Expand Up @@ -14135,8 +14132,7 @@ export interface components {
*/
tool_version?: string | null;
/**
* Type
* @constant
* @description discriminator enum property added by openapi-typescript
* @enum {string}
*/
type: "pause";
Expand Down Expand Up @@ -15581,8 +15577,7 @@ export interface components {
*/
tool_version?: string | null;
/**
* Type
* @constant
* @description discriminator enum property added by openapi-typescript
* @enum {string}
*/
type: "subworkflow";
Expand Down Expand Up @@ -15859,8 +15854,7 @@ export interface components {
*/
tool_version?: string | null;
/**
* Type
* @constant
* @description discriminator enum property added by openapi-typescript
* @enum {string}
*/
type: "tool";
Expand Down
19 changes: 11 additions & 8 deletions lib/galaxy/schema/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
Field,
field_validator,
)
from typing_extensions import Annotated

from galaxy.schema.schema import (
AnnotationField,
Expand Down Expand Up @@ -194,19 +195,21 @@ class StoredWorkflowDetailed(StoredWorkflowSummary):
)
steps: Dict[
int,
Union[
InputDataStep,
InputDataCollectionStep,
InputParameterStep,
PauseStep,
ToolStep,
SubworkflowStep,
Annotated[
Union[
InputDataStep,
InputDataCollectionStep,
InputParameterStep,
PauseStep,
ToolStep,
SubworkflowStep,
],
Field(discriminator="type"),
],
] = Field(
{},
title="Steps",
description="A dictionary with information about all the steps of the workflow.",
discriminator="type",
)
importable: Optional[bool] = Field(
...,
Expand Down

0 comments on commit 8d9fc6b

Please sign in to comment.