Reviewed-on: #1 Co-authored-by: Vishesh 'ironeagle' Bangotra <aetoskia@gmail.com> Co-committed-by: Vishesh 'ironeagle' Bangotra <aetoskia@gmail.com>
12 lines
321 B
Python
12 lines
321 B
Python
from typing import Optional, TypeVar
|
|
from .store import CredentialStore
|
|
|
|
T = TypeVar("T")
|
|
|
|
class PickleCredentialStore(CredentialStore[T]):
|
|
path: str
|
|
def __init__(self, path: str) -> None: ...
|
|
def load(self) -> Optional[T]: ...
|
|
def save(self, credentials: T) -> None: ...
|
|
def clear(self) -> None: ...
|