forked from Wavyzz/py-healthchecks.io
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67cbd2963f | ||
|
|
960d78bc10 | ||
|
|
17c612c29f | ||
|
|
79ae404e63 |
@@ -38,7 +38,7 @@ class Check(BaseModel):
|
||||
update_url: Optional[str]
|
||||
pause_url: Optional[str]
|
||||
channels: Optional[str]
|
||||
timeout: int
|
||||
timeout: Optional[int]
|
||||
uuid: Optional[str]
|
||||
|
||||
@validator("uuid", always=True)
|
||||
@@ -83,7 +83,7 @@ class CheckCreate(BaseModel):
|
||||
lte=31536000,
|
||||
)
|
||||
schedule: Optional[str] = Field(
|
||||
"* * * * *",
|
||||
None,
|
||||
description="A cron expression defining this check's schedule. "
|
||||
"If you specify both timeout and schedule parameters, "
|
||||
"Healthchecks.io will create a Cron check and ignore the "
|
||||
|
||||
Reference in New Issue
Block a user