Skip to content

Commit 49e0cc2

Browse files
authored
Change cert fields to optional (#43)
1 parent 2a5b2e4 commit 49e0cc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonkuma/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ class UptimeKumaMonitor(UptimeKumaBaseModel):
6161
"""Monitor model for Uptime Kuma."""
6262

6363
monitor_id: int | None = None
64-
monitor_cert_days_remaining: int
65-
monitor_cert_is_valid: bool
64+
monitor_cert_days_remaining: int | None = None
65+
monitor_cert_is_valid: bool | None = None
6666
monitor_hostname: str | None = field(
6767
metadata={"deserialize": lambda v: None if v == "null" else v}
6868
)

0 commit comments

Comments
 (0)