Island: Fix mypy issues in i_log_repository.py

This commit is contained in:
Kekoa Kaaikala 2022-09-21 18:08:25 +00:00
parent 7801a98a15
commit c0b2981150
1 changed files with 5 additions and 1 deletions

View File

@ -2,8 +2,12 @@ from abc import ABC
from typing import Optional, Sequence from typing import Optional, Sequence
# TODO: Actually define the Log class
class Log:
pass
class ILogRepository(ABC): class ILogRepository(ABC):
# Define log object
def get_logs(self, agent_id: Optional[str] = None) -> Sequence[Log]: # noqa: F821 def get_logs(self, agent_id: Optional[str] = None) -> Sequence[Log]: # noqa: F821
pass pass