from abc import ABC, abstractmethod | |
class IDataReader(ABC): | |
def read_pdf(self, file_path: str) -> str: | |
pass | |
def read_docx(self, file_path: str) -> str: | |
pass | |
def read_txt(self, file_path: str) -> str: | |
pass |
from abc import ABC, abstractmethod | |
class IDataReader(ABC): | |
def read_pdf(self, file_path: str) -> str: | |
pass | |
def read_docx(self, file_path: str) -> str: | |
pass | |
def read_txt(self, file_path: str) -> str: | |
pass |