mirror of
https://github.com/andrewthetechie/py-healthchecks.io.git
synced 2026-04-25 08:15:37 +02:00
Merge pull request #33 from andrewthetechie/fix-optional-timeout
make timeout optional
This commit is contained in:
@@ -38,7 +38,7 @@ class Check(BaseModel):
|
|||||||
update_url: Optional[str]
|
update_url: Optional[str]
|
||||||
pause_url: Optional[str]
|
pause_url: Optional[str]
|
||||||
channels: Optional[str]
|
channels: Optional[str]
|
||||||
timeout: int
|
timeout: Optional[int]
|
||||||
uuid: Optional[str]
|
uuid: Optional[str]
|
||||||
|
|
||||||
@validator("uuid", always=True)
|
@validator("uuid", always=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user