Lazy load the chat sessions. Returns: An iterator of chat sessions.
(self)
| 9 | |
| 10 | @abstractmethod |
| 11 | def lazy_load(self) -> Iterator[ChatSession]: |
| 12 | """Lazy load the chat sessions. |
| 13 | |
| 14 | Returns: |
| 15 | An iterator of chat sessions. |
| 16 | """ |
| 17 | |
| 18 | def load(self) -> List[ChatSession]: |
| 19 | """Eagerly load the chat sessions into memory. |