NucelarMonitor/Python/Interfaces/Managers/ControllersManagerInterface.py

14 lines
438 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Any, Self
from abc import ABC, abstractmethod
from Interfaces.Abstracts.ControllerAbstractInterface import ControllerAbstractInterface
class ControllersManagerInterface(ABC):
@abstractmethod
def get(self:Self, key:str) -> ControllerAbstractInterface|None:pass
@abstractmethod
def add(self:Self, inputs:Any|None, overwrite:bool = False) -> None:pass