From c1594480a343de688a6b292dd3d534129db3dcbf Mon Sep 17 00:00:00 2001 From: ecederstrand Date: Tue, 31 Oct 2023 18:43:27 +0100 Subject: [PATCH] docs: Add links to *SubscriptionRequest elements --- exchangelib/services/subscribe.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exchangelib/services/subscribe.py b/exchangelib/services/subscribe.py index 23a30320..d85eb69b 100644 --- a/exchangelib/services/subscribe.py +++ b/exchangelib/services/subscribe.py @@ -53,6 +53,7 @@ def _partial_payload(self, folders, event_types): class SubscribeToPull(Subscribe): + # https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/pullsubscriptionrequest subscription_request_elem_tag = "m:PullSubscriptionRequest" prefer_affinity = True @@ -76,6 +77,7 @@ def get_payload(self, folders, event_types, watermark, timeout): class SubscribeToPush(Subscribe): + # https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/pushsubscriptionrequest subscription_request_elem_tag = "m:PushSubscriptionRequest" def call(self, folders, event_types, watermark, status_frequency, url): @@ -100,6 +102,7 @@ def get_payload(self, folders, event_types, watermark, status_frequency, url): class SubscribeToStreaming(Subscribe): + # https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/streamingsubscriptionrequest subscription_request_elem_tag = "m:StreamingSubscriptionRequest" prefer_affinity = True