| from abc import ABC, abstractmethod | |
| from typing import Optional | |
| from api.chat.chat_api import ChatAPI | |
| class ChatQueueBase(ABC): | |
| async def add(self, api_key: str) -> None: | |
| pass | |
| async def get(self) -> Optional[ChatAPI]: | |
| pass | |
| async def length(self) -> int: | |
| pass |