refactor: use slots and strongly typed properties
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import dataclasses
|
||||
|
||||
|
||||
@dataclasses.dataclass
|
||||
@dataclasses.dataclass(slots=True)
|
||||
class Page:
|
||||
path: str
|
||||
with_index: bool = False
|
||||
|
||||
Reference in New Issue
Block a user