mirror of
https://github.com/catspace-dev/unicheckbot.git
synced 2025-03-13 05:25:48 +03:00
16 lines
377 B
Python
16 lines
377 B
Python
from core.coretypes import Response, APINodeInfo
|
|
from api.config import NODE_NAME, NODE_LOCATION
|
|
from abc import ABC
|
|
|
|
|
|
class BaseChecker(ABC):
|
|
|
|
def __init__(self, target: str):
|
|
self.target = target
|
|
self.node_info = APINodeInfo(
|
|
name=NODE_NAME, location=NODE_LOCATION
|
|
)
|
|
|
|
def check(self) -> Response:
|
|
raise NotImplementedError
|