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]
|
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)
|
||||||
@@ -83,7 +83,7 @@ class CheckCreate(BaseModel):
|
|||||||
lte=31536000,
|
lte=31536000,
|
||||||
)
|
)
|
||||||
schedule: Optional[str] = Field(
|
schedule: Optional[str] = Field(
|
||||||
"* * * * *",
|
None,
|
||||||
description="A cron expression defining this check's schedule. "
|
description="A cron expression defining this check's schedule. "
|
||||||
"If you specify both timeout and schedule parameters, "
|
"If you specify both timeout and schedule parameters, "
|
||||||
"Healthchecks.io will create a Cron check and ignore the "
|
"Healthchecks.io will create a Cron check and ignore the "
|
||||||
|
|||||||
Reference in New Issue
Block a user