From 66ccacdee1f29d63a3b4a0736d052da3fe4d23b7 Mon Sep 17 00:00:00 2001 From: Chris Coutinho Date: Mon, 16 Feb 2026 13:34:05 +0100 Subject: [PATCH] fix: add type: ignore for caldav ssl_verify_cert parameter caldav types declare ssl_verify_cert as Union[bool, str] but the value is passed through to httpx which accepts ssl.SSLContext. Add type: ignore annotation to satisfy the ty type checker in CI. Co-Authored-By: Claude Opus 4.6 --- nextcloud_mcp_server/client/calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud_mcp_server/client/calendar.py b/nextcloud_mcp_server/client/calendar.py index 3a4cc1a..03b47a9 100644 --- a/nextcloud_mcp_server/client/calendar.py +++ b/nextcloud_mcp_server/client/calendar.py @@ -36,7 +36,7 @@ class CalendarClient: url=f"{base_url}/remote.php/dav/", username=username, auth=auth, - ssl_verify_cert=get_nextcloud_ssl_verify(), + ssl_verify_cert=get_nextcloud_ssl_verify(), # type: ignore[arg-type] # caldav types say bool|str but passes through to httpx which accepts SSLContext ) self._calendar_home_url = f"{base_url}/remote.php/dav/calendars/{username}/"