17 lines
322 B
Python
Raw Normal View History

from .constants import FrameType
2023-10-10 12:01:34 +08:00
class StartAttr:
frame_attr: FrameType
def __init__(self, frame_attr: FrameType) -> None:
2023-10-10 12:01:34 +08:00
self.frame_attr = frame_attr
def __json__(self):
return {
"frame_attr": self.frame_attr.value,
}
def __text__(self) -> str:
return ""