mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-12-17 05:25:58 +00:00
20 lines
499 B
Python
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()
|