We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 757098b commit 314d3afCopy full SHA for 314d3af
1 file changed
layer/nrlf/core/dynamodb/model.py
@@ -199,7 +199,7 @@ def validate_id(cls, id_: str) -> str:
199
The id should be in the format <producer_id|producer_suffix>-<document_id>
200
"""
201
if not re.match(
202
- r"^(?=.{1,64}$)[A-Za-z0-9|\\.]+-[A-Za-z0-9]+[A-Za-z0-9\\_\\-]*$", id_
+ r"^(?=.{1,64}$)[A-Za-z0-9|\\.]+-[A-Za-z0-9]+[A-Za-z0-9_\\-]*$", id_
203
):
204
raise ValueError("id must be in the format <producer_id>-<document_id>")
205
0 commit comments