mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-21 17:19:36 -05:00
23 lines
414 B
Python
23 lines
414 B
Python
from abc import ABC, abstractmethod
|
|
from typing import Any
|
|
|
|
class Tool(ABC):
|
|
@classmethod
|
|
@abstractmethod
|
|
def name(cls) -> str:
|
|
pass
|
|
|
|
@classmethod
|
|
@abstractmethod
|
|
def category(cls) -> str:
|
|
pass
|
|
|
|
@classmethod
|
|
@abstractmethod
|
|
def description(cls) -> str:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def launch(self, value: str, *args, **kwargs) -> Any:
|
|
pass
|