Files
defiQUG c052b07662
Some checks failed
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / lint (push) Has been cancelled
Tests / docker (push) Has been cancelled
Initial commit: add .gitignore and README
2026-02-09 21:51:42 -08:00

10 lines
282 B
Python

from abc import ABC, abstractmethod
from typing import Any
class BaseConnector(ABC):
name = "base"
@abstractmethod
def invoke(self, action: str, params: dict) -> Any: ...
def schema(self) -> dict:
return {"name": self.name, "actions": [], "parameters": {}}