Skip to content

Commit

Permalink
fix regex (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andful authored Sep 17, 2024
1 parent 05b0339 commit 254037d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream/parser/accelerator_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AcceleratorValidator:
"required": True,
"schema": {
"type": "string",
"regex": r"^(?:[a-zA-Z0-9_\-]+|[a-zA-Z0-9_\-\///]+(\.yaml|\.yml))$",
"regex": r"^.*\.(yaml|yml)$",
},
},
"graph": {
Expand Down

0 comments on commit 254037d

Please sign in to comment.