Files
securelens-backend/app/services/scanner/base.py

12 lines
222 B
Python
Raw Normal View History

2026-04-07 18:13:43 +05:30
from abc import ABC, abstractmethod
import httpx
from app.schemas.scan import Issue
class BaseScanner(ABC):
@abstractmethod
async def scan(self, url: str, response: httpx.Response) -> list[Issue]:
pass