mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Remove Python's 'Six' package completely. #5357
2) Replace deprecated @abstractproperty with @property, @abstractmethod.
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user