15 lines
383 B
Python
15 lines
383 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from typing import Self, Any, TypeVar
|
|
from abc import ABC, abstractmethod
|
|
|
|
T = TypeVar("T")
|
|
|
|
class ProceduresManagerInterface(ABC):
|
|
|
|
@abstractmethod
|
|
def get(self:Self, Type:type[T], procedure:tuple[str, str]|T) -> T|None:pass
|
|
|
|
@abstractmethod
|
|
def add(self:Self, inputs:Any|None, overwrite:bool = False) -> None:pass |