From 4abf34cc2f87cf3a04375fdbfa3b41bbc48485b3 Mon Sep 17 00:00:00 2001 From: ecederstrand Date: Thu, 5 Sep 2024 09:32:46 +0200 Subject: [PATCH] docs: Update docs --- docs/exchangelib/folders/base.html | 6 ++++-- docs/exchangelib/folders/index.html | 3 ++- docs/exchangelib/index.html | 2 +- docs/exchangelib/winzone.html | 4 ---- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/exchangelib/folders/base.html b/docs/exchangelib/folders/base.html index 6b8dc2b3..3aa92c5a 100644 --- a/docs/exchangelib/folders/base.html +++ b/docs/exchangelib/folders/base.html @@ -124,7 +124,8 @@

Module exchangelib.folders.base

self.item_sync_state = kwargs.pop("item_sync_state", None) self.folder_sync_state = kwargs.pop("folder_sync_state", None) super().__init__(**kwargs) - if self._distinguished_id and self.account: + if self._distinguished_id and not self._distinguished_id.mailbox and self.account: + # Ensure that distinguished IDs have a mailbox, but don't override a custom mailbox (e.g. shared folders) self._distinguished_id.mailbox = Mailbox(email_address=self.account.primary_smtp_address) @property @@ -1039,7 +1040,8 @@

Classes

self.item_sync_state = kwargs.pop("item_sync_state", None) self.folder_sync_state = kwargs.pop("folder_sync_state", None) super().__init__(**kwargs) - if self._distinguished_id and self.account: + if self._distinguished_id and not self._distinguished_id.mailbox and self.account: + # Ensure that distinguished IDs have a mailbox, but don't override a custom mailbox (e.g. shared folders) self._distinguished_id.mailbox = Mailbox(email_address=self.account.primary_smtp_address) @property diff --git a/docs/exchangelib/folders/index.html b/docs/exchangelib/folders/index.html index df85f225..a0b44c5a 100644 --- a/docs/exchangelib/folders/index.html +++ b/docs/exchangelib/folders/index.html @@ -1561,7 +1561,8 @@

Inherited members

self.item_sync_state = kwargs.pop("item_sync_state", None) self.folder_sync_state = kwargs.pop("folder_sync_state", None) super().__init__(**kwargs) - if self._distinguished_id and self.account: + if self._distinguished_id and not self._distinguished_id.mailbox and self.account: + # Ensure that distinguished IDs have a mailbox, but don't override a custom mailbox (e.g. shared folders) self._distinguished_id.mailbox = Mailbox(email_address=self.account.primary_smtp_address) @property diff --git a/docs/exchangelib/index.html b/docs/exchangelib/index.html index c227954d..3e727087 100644 --- a/docs/exchangelib/index.html +++ b/docs/exchangelib/index.html @@ -64,7 +64,7 @@

Package exchangelib

from .transport import BASIC, CBA, DIGEST, GSSAPI, NTLM, OAUTH2, SSPI from .version import Build, Version -__version__ = "5.4.2" +__version__ = "5.4.3" __all__ = [ "AcceptItem", diff --git a/docs/exchangelib/winzone.html b/docs/exchangelib/winzone.html index 715564e4..2bea7901 100644 --- a/docs/exchangelib/winzone.html +++ b/docs/exchangelib/winzone.html @@ -379,8 +379,6 @@

Module exchangelib.winzone

"Australia/Melbourne": ("AUS Eastern Standard Time", "AU"), "Australia/Perth": ("W. Australia Standard Time", "001"), "Australia/Sydney": ("AUS Eastern Standard Time", "001"), - "CST6CDT": ("Central Standard Time", "ZZ"), - "EST5EDT": ("Eastern Standard Time", "ZZ"), "Etc/GMT": ("UTC", "ZZ"), "Etc/GMT+1": ("Cape Verde Standard Time", "ZZ"), "Etc/GMT+10": ("Hawaiian Standard Time", "ZZ"), @@ -478,8 +476,6 @@

Module exchangelib.winzone

"Indian/Mauritius": ("Mauritius Standard Time", "001"), "Indian/Mayotte": ("E. Africa Standard Time", "YT"), "Indian/Reunion": ("Mauritius Standard Time", "RE"), - "MST7MDT": ("Mountain Standard Time", "ZZ"), - "PST8PDT": ("Pacific Standard Time", "ZZ"), "Pacific/Apia": ("Samoa Standard Time", "001"), "Pacific/Auckland": ("New Zealand Standard Time", "001"), "Pacific/Bougainville": ("Bougainville Standard Time", "001"),