Skip to content

Commit

Permalink
model: fix Path regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicoulaud-ledger committed Sep 26, 2024
1 parent 14bdd9d commit 5b89a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/erc7730/model/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

Id = Ann[str, Field(min_length=1)]
ContractAddress = Ann[str, Field(min_length=0, max_length=64, pattern=r"^[a-zA-Z0-9_\-]+$")]
Path = Ann[str, Field(pattern=r"^[a-zA-Z0-9.\[\]_]+")]
Path = Ann[str, Field(pattern=r"^[a-zA-Z0-9.\[\]_@\$\#]+")]

0 comments on commit 5b89a4b

Please sign in to comment.