OpoTests/Python/Interfaces/ControllersAbstractInterface.py

17 lines
431 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Self, Any, Callable
class ControllersAbstractInterface:
def add(self:Self, key:str, action:Callable[[
dict[str, Any|None],
dict[str, Any|None]
], Any|None], overwrite:bool = False) -> None:pass
def get(self:Self,
action:str,
variables:dict[str, Any|None],
inputs:dict[str, Any|None]
) -> Any|None:pass