如何创建一个TypedDict类,该类支持包含连字符或字符串中支持的其他字符的键,例如下面示例中的"justify content".
from typing import TypedDict, Literal
from typing_extensions import NotRequired
class Attributes(TypedDict):
width: NotRequired[str]
height: NotRequired[str]
direction: NotRequired[Literal["row", "column"]]
justify-content: NotRequired[Literal["start", "end", "center", "equally-spaced"]]