You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/biomero_schema/models.py
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,12 @@ class Parameter(BaseModel):
81
81
description: Optional[str] =Field(None, description="Description of parameter. Context help in BIAFLOWS UI (parameter dialog box). Soft Defaults to ''")
82
82
value_key: Optional[str] =Field(None, alias="value-key", description="Substitution key in CLI. Defaults to '[@ID]'")
83
83
command_line_flag: Optional[str] =Field(None, alias="command-line-flag", description="CLI flag. Defaults to '--@id'")
84
-
default_value: Optional[Union[str, float, bool]] =Field(None, alias="default-value", description="Default value in BIAFLOWS UI (parameter dialog box). Soft Defaults to empty string")
description="Default value in BIAFLOWS UI (parameter dialog box). "
88
+
"Soft Defaults to empty string"
89
+
)
85
90
optional: Optional[bool] =Field(None, description="If true, parameter not required. Soft Defaults to False")
86
91
set_by_server: Optional[bool] =Field(None, alias="set-by-server", description="If true, parameter is server-assigned. Soft Defaults to False")
87
92
value_choices: Optional[List[Union[str, int, float, bool]]] =Field(None, alias="value-choices", description="List of allowed values for this parameter")
@@ -103,7 +108,12 @@ class OutputParameter(BaseModel):
103
108
description: Optional[str] =Field(None, description="Description of parameter. Context help in BIAFLOWS UI (parameter dialog box). Soft Defaults to ''")
104
109
value_key: Optional[str] =Field(None, alias="value-key", description="Substitution key in CLI. Defaults to '[@ID]'")
105
110
command_line_flag: Optional[str] =Field(None, alias="command-line-flag", description="CLI flag. Defaults to '--@id'")
106
-
default_value: Optional[Union[str, float, bool]] =Field(None, alias="default-value", description="Default value in BIAFLOWS UI (parameter dialog box). Soft Defaults to empty string")
description="Default value in BIAFLOWS UI (parameter dialog box). "
115
+
"Soft Defaults to empty string"
116
+
)
107
117
optional: Optional[bool] =Field(None, description="If true, parameter not required. Soft Defaults to False")
108
118
set_by_server: Optional[bool] =Field(None, alias="set-by-server", description="If true, parameter is server-assigned. Soft Defaults to False")
109
119
value_choices: Optional[List[Union[str, int, float, bool]]] =Field(None, alias="value-choices", description="List of allowed values for this parameter")
0 commit comments