generated from pufereq/python-template
fix(message.py): provide id_ in ack() and hello()
This commit is contained in:
@@ -133,6 +133,7 @@ class Message:
|
||||
Message: The created ACK message.
|
||||
"""
|
||||
return cls(
|
||||
id_=None,
|
||||
category=Category.CONTROL,
|
||||
action=ControlAction.ACK,
|
||||
payload={"target_id": target_id},
|
||||
@@ -148,6 +149,7 @@ class Message:
|
||||
Message: The created HELLO message.
|
||||
"""
|
||||
return cls(
|
||||
id_=None,
|
||||
category=Category.CONTROL,
|
||||
action=ControlAction.HELLO,
|
||||
payload={"mac": mac},
|
||||
|
||||
Reference in New Issue
Block a user