AetherOrchestrator/Python/AetherModelsServer/Interfaces/Managers/ControllersManagerInterface.py

20 lines
806 B
Python

from typing import Self, Any, Optional, Type
from AetherModelsServer.Interfaces.Abstracts.ControllerAbstractInterface import ControllerAbstractInterface
class ControllersManagerInterface:
def register_type(self:Self, key:str, Class:Type[ControllerAbstractInterface]) -> None:pass
def load_types(self:Self, inputs:Any) -> None:pass
def register(self:Self, key:str, controller:ControllerAbstractInterface) -> ControllerAbstractInterface:pass
def create(self:Self, key:str, inputs:Optional[Any] = None) -> ControllerAbstractInterface:pass
def get(self:Self, key:str) -> ControllerAbstractInterface:pass
def has(self:Self, key:str) -> bool:pass
def get_all(self:Self) -> dict[str, ControllerAbstractInterface]:pass
def load(self:Self, inputs:Optional[Any]) -> None:pass