mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
13 lines
281 B
Python
13 lines
281 B
Python
from abc import ABC, abstractmethod
|
|
from typing import BinaryIO, Any, Dict, Optional
|
|
|
|
|
|
class Parser(ABC):
|
|
|
|
@abstractmethod
|
|
def parse(
|
|
self,
|
|
file_stream: BinaryIO,
|
|
location_ref_to_uprn_map: Optional[Dict[str, int]] = None,
|
|
) -> Any:
|
|
pass
|