File size: 264 Bytes
2700879
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from abc import ABC, abstractmethod
from CrawDag.models import News
class DataLake(ABC):
    @abstractmethod
    def save(self, listNews: list[News]) -> list[str]:
        pass

    @abstractmethod
    def delete(self, listNewsId: list[str]) -> None:
        pass