mirror of
https://github.com/daimyomizukagebay61/SteamPanel.git
synced 2026-07-25 11:44:28 +00:00
17 lines
362 B
Python
17 lines
362 B
Python
from abc import (
|
|
ABC,
|
|
abstractmethod,
|
|
)
|
|
from typing import Mapping
|
|
|
|
|
|
class CookieStorageAbstract(ABC):
|
|
|
|
@abstractmethod
|
|
async def set(self, login: str, cookies: Mapping[str, Mapping[str, str]]) -> None: # noqa:U100
|
|
...
|
|
|
|
@abstractmethod
|
|
async def get(self, login: str, domain: str) -> Mapping[str, str]: # noqa:U100
|
|
...
|