mirror of https://github.com/langgenius/dify.git
Update api/libs/helper.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
0e2eab7502
commit
275dff2db3
|
|
@ -130,7 +130,7 @@ def normalize_uuid(value: str | UUID | None) -> str | None:
|
|||
raise ValueError("must be a valid UUID") from exc
|
||||
|
||||
|
||||
UUIDStrOrEmpty = Annotated[str, AfterValidator(normalize_uuid)]
|
||||
UUIDStrOrEmpty = Annotated[str | None, AfterValidator(normalize_uuid)]
|
||||
|
||||
|
||||
def alphanumeric(value: str):
|
||||
|
|
|
|||
Loading…
Reference in New Issue