File size: 239 Bytes
efeddde
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from abc import ABC, abstractmethod
from pathlib import Path

class ReverseImageSearchProvider(ABC):
    name = "base"

    @abstractmethod
    def search(self, image_path: Path, max_results: int = None):
        raise NotImplementedError