From a6432dc0f12911883d8ef72ea5db190c6fbeb4d8 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sat, 14 Mar 2026 22:49:17 +0100 Subject: [PATCH] sharing/code: 3.9 --- radicale/app/report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/app/report.py b/radicale/app/report.py index f0fa63a8..ef18cfd8 100644 --- a/radicale/app/report.py +++ b/radicale/app/report.py @@ -743,13 +743,13 @@ def xml_item_response(base_prefix: str, href: str, def retrieve_items( base_prefix: str, path: str, collection: storage.BaseCollection, hreferences: Iterable[str], filters: Sequence[ET.Element], - multistatus: ET.Element, share: Union[dict | None]) -> Iterator[Tuple[radicale_item.Item, bool]]: + multistatus: ET.Element, share: Union[dict, None]) -> Iterator[Tuple[radicale_item.Item, bool]]: """Retrieves all items that are referenced in ``hreferences`` from ``collection`` and adds 404 responses for missing and invalid items to ``multistatus``.""" collection_requested = False - def get_names(share: Union[dict | None]) -> Iterator[str]: + def get_names(share: Union[dict, None]) -> Iterator[str]: """Extracts all names from references in ``hreferences`` and adds 404 responses for invalid references to ``multistatus``. If the whole collections is referenced ``collection_requested``