Coverage for src/app/ports/delete_conversation_port.py: 100%
5 statements
« prev ^ index » next coverage.py v7.7.0, created at 2025-04-02 22:51 +0200
« prev ^ index » next coverage.py v7.7.0, created at 2025-04-02 22:51 +0200
2from abc import ABC, abstractmethod
3from models.conversation_model import ConversationModel
5class DeleteConversationPort(ABC):
7 @abstractmethod
8 def delete_conversation_title(self, conversation: ConversationModel) -> bool:
9 """
10 Delete a conversation title.
11 Args:
12 conversation (ConversationModel): The conversation object containing the ID to delete.
13 Returns:
14 int: The ID of the deleted conversation.
15 """