This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Since I keep on forgetting how to create Python @dataclass with static field and how to reference the class within the class.... | |
# Example: | |
from dataclasses import dataclass | |
from typing import Dict, ClassVar | |
@dataclass | |
class NotionPage: | |
page_id: str | |
last_edited_time: str |