16 lines
344 B
Python
16 lines
344 B
Python
|
|
"""
|
||
|
|
This type stub file was generated by pyright.
|
||
|
|
"""
|
||
|
|
|
||
|
|
from .specs import MsgDict
|
||
|
|
|
||
|
|
def msg2str(msg: MsgDict, include_time: bool = True) -> str:
|
||
|
|
...
|
||
|
|
|
||
|
|
def str2msg(text: str) -> MsgDict:
|
||
|
|
"""Parse str format and return message dict.
|
||
|
|
|
||
|
|
No type or value checking is done. The caller is responsible for
|
||
|
|
calling check_msgdict().
|
||
|
|
"""
|