bio-nexus-api / app /tools /base.py
Samad14's picture
fix(blast): poll cap 65min, DNA validation, program/db/max_hits params
cd0c7a9 verified
Raw
History Blame Contribute Delete
313 Bytes
from abc import ABC, abstractmethod
from typing import Any
class BaseTool(ABC):
name: str = ""
@abstractmethod
async def run(self, input: dict) -> dict:
...
def requires_input_from(self) -> list[str]:
return []
def provides_output_to(self) -> list[str]:
return []