Merge pull request #306 from nathanthorpe/python_3_6_fix

Python 3.6 fix: add maxsize parameter to find_folder_id cache
This commit is contained in:
Sean Whalen
2022-04-21 18:49:05 -04:00
committed by GitHub
+1 -1
View File
@@ -85,7 +85,7 @@ class MSGraphConnection(MailboxConnection):
sleep(check_timeout)
check_callback(self)
@lru_cache
@lru_cache(maxsize=100)
def _find_folder_id_from_folder_path(self, folder_name: str) -> str:
path_parts = folder_name.split('/')
parent_folder_id = None