remove min_length constraint of 1 for task.url (#759)

This commit is contained in:
Shuchang Zheng
2024-08-29 12:25:57 -07:00
committed by GitHub
parent 06daa9834f
commit 11811e74bf

View File

@@ -30,7 +30,6 @@ class TaskRequest(BaseModel):
) )
url: str = Field( url: str = Field(
..., ...,
min_length=1,
description="Starting URL for the task.", description="Starting URL for the task.",
examples=["https://www.geico.com"], examples=["https://www.geico.com"],
) )