glossary: added '__post_init__'
This commit is contained in:
parent
2e0da31150
commit
92fb2bbe15
@ -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:
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user