Source code for ascetic_ddd.seedwork.domain.identity.interfaces
from abc import ABCMeta, abstractmethod
from typing import Generic, TypeVar
T = TypeVar("T")
[docs]
class IAccessible(Generic[T], metaclass=ABCMeta):
@property
@abstractmethod
def value(self) -> T:
raise NotImplementedError