refactor: use slots and strongly typed properties

This commit is contained in:
2026-04-20 10:48:58 +02:00
parent fc7d3cb0e8
commit 5fb10ffb9d
10 changed files with 161 additions and 91 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import dataclasses
@dataclasses.dataclass
@dataclasses.dataclass(slots=True)
class Page:
path: str
with_index: bool = False