19 lines
391 B
Python
19 lines
391 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from typing import Self
|
|
from abc import ABC, abstractmethod
|
|
|
|
class UniqueKeysManagerInterface(ABC):
|
|
|
|
@abstractmethod
|
|
def update(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def reset(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def get(self:Self) -> str:pass
|
|
|
|
@abstractmethod
|
|
def remove(self:Self, key:str) -> None:pass |