glossary: added '__post_init__'

This commit is contained in:
juk0de 2024-02-06 18:49:43 +01:00
parent 2e0da31150
commit 92fb2bbe15

View File

@ -47,6 +47,10 @@ class Glossary:
ID: str | None = None
file_suffix: ClassVar[str] = '.glo'
def __post_init__(self) -> None:
# FIXME: check for valid languages
pass
@classmethod
def from_file(cls: Type[GlossaryInst], file_path: Path) -> GlossaryInst:
"""