mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-18 16:03:12 +03:00
Added legacy password subsystem to AbstractConfig
This commit is contained in:
parent
e3807648f7
commit
0367dd8ba0
12
config.py
12
config.py
@ -219,6 +219,18 @@ class AbstractConfig(abc.ABC):
|
|||||||
"""Close this config and release any associated resources."""
|
"""Close this config and release any associated resources."""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
def get_password(self, account: str) -> None:
|
||||||
|
"""Legacy password retrieval."""
|
||||||
|
warnings.warn("password subsystem is no longer supported", DeprecationWarning)
|
||||||
|
|
||||||
|
def set_password(self, account: str, password: str) -> None:
|
||||||
|
"""Legacy password setting."""
|
||||||
|
warnings.warn("password subsystem is no longer supported", DeprecationWarning)
|
||||||
|
|
||||||
|
def delete_password(self, account: str) -> None:
|
||||||
|
"""Legacy password deletion."""
|
||||||
|
warnings.warn("password subsystem is no longer supported", DeprecationWarning)
|
||||||
|
|
||||||
|
|
||||||
class WinConfig(AbstractConfig):
|
class WinConfig(AbstractConfig):
|
||||||
"""Implementation of AbstractConfig for windows."""
|
"""Implementation of AbstractConfig for windows."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user