#!/usr/bin/env python3 # -*- coding: utf-8 -*- from typing import Any, Self, TypeVar from abc import ABC, abstractmethod from Interfaces.Owners.DispatchersInterface import DispatchersInterface T = TypeVar("T", bound = DispatchersInterface) class DispatchersManagerInterface(ABC): @abstractmethod def get(self:Self, Type:type[T], key:str) -> T|None:pass @abstractmethod def add(self:Self, inputs:Any|None, overwrite:bool = False) -> None:pass