Skip to content

Commit

Permalink
Merge pull request #244 from bento-platform/fix/workflows/default-fil…
Browse files Browse the repository at this point in the history
…e-patterns

fix(workflows): correct regex for default file/array patterns
  • Loading branch information
davidlougheed authored Dec 9, 2024
2 parents 196eb49 + a565ae7 commit 3e2ac05
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 3e2ac05

Please sign in to comment.