This commit is contained in:
Manchik
2026-04-17 22:22:40 +03:00
commit c82866b58a
135 changed files with 18493 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
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
...