rainbowadn/rainbowadn/core/mentionable.py
2022-06-21 21:17:28 +03:00

19 lines
393 B
Python

from typing import TypeVar
from .rainbow_factory import RainbowFactory
__all__ = ('Mentionable',)
Mentioned = TypeVar('Mentioned')
class Mentionable:
def __bytes__(self):
raise NotImplementedError
def __factory__(self: Mentioned) -> RainbowFactory[Mentioned]:
raise NotImplementedError
def __topology_hash__(self) -> bytes:
raise NotImplementedError