1) Remove Python's 'Six' package completely. #5357

2) Replace deprecated @abstractproperty with @property, @abstractmethod.
This commit is contained in:
Akshay Joshi
2022-09-26 12:47:31 +05:30
parent fc8d6d6e90
commit 0b6b2e733a
15 changed files with 37 additions and 70 deletions

View File

@@ -8,9 +8,6 @@ import sys
from typing import TYPE_CHECKING
import config
import six
if TYPE_CHECKING:
from typing import Any
import msal_extensions
@@ -132,7 +129,7 @@ def _get_persistence(
' the cache unencrypted'
" instead of raising this exception."
)
six.raise_from(error, ex)
raise error
return msal_extensions.FilePersistence(cache_file_path)
raise NotImplementedError("A persistent cache is not "