#!/usr/bin/env python3 # -*- coding: utf-8 -*- from typing import Self, Any, Sequence, TypeVar from abc import ABC, abstractmethod T = TypeVar("T") class ModelsManagerInterface(ABC): @abstractmethod def update(self:Self) -> None:pass @abstractmethod def reset(self:Self) -> None:pass @abstractmethod def get(self:Self, Type:type[T], keys:str|Sequence[str]) -> T|None:pass @abstractmethod def add(self:Self, inputs:Any|None, overwrite:bool = False) -> None:pass