diff options
Diffstat (limited to 'src/scheduler.py')
-rw-r--r-- | src/scheduler.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scheduler.py b/src/scheduler.py index 67e204a..575ec9d 100644 --- a/src/scheduler.py +++ b/src/scheduler.py @@ -4,16 +4,16 @@ from card import Card class Scheduler(Protocol): @abstractmethod - def __init__(self, cards: dict[int, Card], state: dict): raise NotImplementedError + def __init__(self, cards: dict[str, Card], state: dict): raise NotImplementedError @abstractmethod - def practice(self, size: int) -> list[int]: raise NotImplementedError + def practice(self, size: int) -> list[str]: raise NotImplementedError @abstractmethod - def test(self, size: int) -> list[int]: raise NotImplementedError + def test(self, size: int) -> list[str]: raise NotImplementedError @abstractmethod - def update(self, results: dict[int, int]) -> None: raise NotImplementedError + def update(self, results: dict[str, int]) -> None: raise NotImplementedError @abstractmethod def getState(self) -> dict: raise NotImplementedError |