from abc import ABC from typing import Self, Optional, Any class ControllerAbstractInterface(ABC): ams:Any key:str def __init__(self:Self, ams:Any, key:str, inputs:Optional[Any] = None) -> None: object.__setattr__(self, "ams", ams) object.__setattr__(self, "key", key)