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') PayloadT = TypeVar('PayloadT')
# TODO: PayloadMsg class PayloadMsg(
class Msg(
Struct, Struct,
Generic[PayloadT], Generic[PayloadT],
@ -110,6 +109,10 @@ class Msg(
pld: Raw pld: Raw
# TODO: complete rename
Msg = PayloadMsg
class Aid( class Aid(
Struct, Struct,
tag=True, tag=True,