Skip to content

Commit

Permalink
fix(workflows): correct regex for default file/array patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Dec 9, 2024
1 parent 196eb49 commit a565ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bento_lib/workflows/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ class WorkflowProjectDatasetInput(WorkflowBaseInput):
class WorkflowFileInput(WorkflowBaseInput):
# can be sourced from drop box / DRS / workflow outputs, whatever the UI decides works
type: Literal["file"] = "file"
pattern: str = "*" # file name regular expression pattern
pattern: str = ".+" # file name regular expression pattern


class WorkflowFileArrayInput(WorkflowBaseInput):
# can be sourced from drop box / DRS / workflow outputs, whatever the UI decides works
type: Literal["file[]"] = "file[]"
pattern: str = "*" # file name regular expression pattern
pattern: str = ".+" # file name regular expression pattern


class WorkflowDirectoryInput(WorkflowBaseInput):
Expand Down

0 comments on commit a565ae7

Please sign in to comment.