From d736bb9d850dc7815049a88b87cc86e4ab68ed2f Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Mon, 30 May 2022 18:29:19 -0700 Subject: [PATCH] caldav: add verify_expand to Calendar.date_search (#7996) Co-authored-by: hauntsaninja <> --- stubs/caldav/caldav/objects.pyi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/stubs/caldav/caldav/objects.pyi b/stubs/caldav/caldav/objects.pyi index 989110dc1..d30ee12d3 100644 --- a/stubs/caldav/caldav/objects.pyi +++ b/stubs/caldav/caldav/objects.pyi @@ -91,14 +91,20 @@ class Calendar(DAVObject): end: datetime.datetime | None = ..., compfilter: Literal["VEVENT"] = ..., expand: bool | Literal["maybe"] = ..., + verify_expand: bool = ..., ) -> list[Event]: ... @overload def date_search( - self, start: datetime.datetime, *, compfilter: None, expand: bool | Literal["maybe"] = ... + self, start: datetime.datetime, *, compfilter: None, expand: bool | Literal["maybe"] = ..., verify_expand: bool = ... ) -> list[CalendarObjectResource]: ... @overload def date_search( - self, start: datetime.datetime, end: datetime.datetime | None, compfilter: None, expand: bool | Literal["maybe"] = ... + self, + start: datetime.datetime, + end: datetime.datetime | None, + compfilter: None, + expand: bool | Literal["maybe"] = ..., + verify_expand: bool = ..., ) -> list[CalendarObjectResource]: ... @overload def search(self, xml, comp_class: None = ...) -> list[CalendarObjectResource]: ...