Skip to content

Instantly share code, notes, and snippets.

from __future__ import annotations
from dataclasses import dataclass
@dataclass(frozen=True)
class DocKey:
key: str
__doc__: str
def __repr__(self):
return repr(self.key)
def __hash__(self):