20 lines
519 B
Python
20 lines
519 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from typing import Any, Self
|
|
from abc import ABC, abstractmethod
|
|
from Models.RequestModel import RequestModel
|
|
|
|
class ControllersManagerInterface(ABC):
|
|
|
|
@abstractmethod
|
|
def update(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def reset(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def add(self:Self, inputs:Any|None, overwrite:bool = False) -> None:pass
|
|
|
|
@abstractmethod
|
|
def execute(self:Self, key:str, method:str, request:RequestModel) -> bool:pass |