Files
Exiled-Exchange-2/dataParser/src/contracts/models/regex_client_string.py
Kvan7 f397d67e7e Features/pushPrivateParser (#759)
Adds copy of parser from private repo
2025-12-06 22:53:27 -06:00

20 lines
499 B
Python

from abc import ABC, abstractmethod
from typing import Callable
from constants.lang import LANG
class RegexClientString(ABC):
@property
@abstractmethod
def my_key(self) -> str:
raise NotImplementedError()
@abstractmethod
def string(self, poe_key_lookup: Callable[[str], str], lang: LANG) -> str:
raise NotImplementedError()
@abstractmethod
def value(self, poe_key_lookup: Callable[[str], str], lang: LANG) -> str:
raise NotImplementedError()