File size: 212 Bytes
d477d5c
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from abc import ABC, abstractmethod
from pathlib import Path
from attrs import define, field


@define()
class BaseParser(ABC):
    file_path: Path = field()

    @abstractmethod
    def parse(self) -> dict: ...