From c5a0cfc6399530a4b0aecb93c62db02eb9c0120e Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 8 May 2024 15:07:34 -0400 Subject: [PATCH] Rename `.msg.types.Msg` -> `PayloadMsg` --- tractor/msg/types.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tractor/msg/types.py b/tractor/msg/types.py index 7e10dab..1b3733c 100644 --- a/tractor/msg/types.py +++ b/tractor/msg/types.py @@ -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,