19 lines
404 B
Python
19 lines
404 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from typing import Self, Any
|
|
from abc import ABC, abstractmethod
|
|
|
|
class IndexesManagerInterface(ABC):
|
|
|
|
@abstractmethod
|
|
def update(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def reset(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def add(self:Self, inputs:Any|None) -> None:pass
|
|
|
|
@abstractmethod
|
|
def get(self:Self) -> list[str]:pass |