#!/usr/bin/env python3 # -*- coding: utf-8 -*- from typing import Self, Optional, Any from Interfaces.Application.CXCVInterface import CXCVInterface from Utils.Utils import Utils class ControllerAbstract: def __init__(self:Self, cxcv:CXCVInterface, key:str, inputs:Optional[dict[str, Any|None]|tuple[Any|None, ...]|list[Any|None]] = None ) -> None: self.cxcv:CXCVInterface = cxcv self.key:str = key self.via:str = Utils.get_value("via", inputs, "sqlite")