mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
caldav: add verify_expand to Calendar.date_search (#7996)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user