forked from goodboy/tractor
1
0
Fork 0

Rename `.msg.types.Msg` -> `PayloadMsg`

runtime_to_msgspec
Tyler Goodlet 2024-05-08 15:07:34 -04:00
parent f85314ecab
commit c5a0cfc639
1 changed files with 5 additions and 2 deletions

View File

@ -56,8 +56,7 @@ log = get_logger('tractor.msgspec')
PayloadT = TypeVar('PayloadT')
# TODO: PayloadMsg
class Msg(
class PayloadMsg(
Struct,
Generic[PayloadT],
@ -110,6 +109,10 @@ class Msg(
pld: Raw
# TODO: complete rename
Msg = PayloadMsg
class Aid(
Struct,
tag=True,