Skip to content

Commit

Permalink
Fix linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed Jan 8, 2024
1 parent 2e6eafe commit 77988df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyleco/utils/message_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,11 @@ def _send(self, receiver: Union[bytes, str], sender: Union[bytes, str] = b"",
else:
self._send_message(message)

def send(self, receiver: Union[bytes, str], data: Optional[Any] = None,
conversation_id: Optional[bytes] = None, **kwargs) -> None:
def send(self,
receiver: Union[bytes, str],
conversation_id: Optional[bytes] = None,
data: Optional[Any] = None,
**kwargs) -> None:
"""Send a message to a receiver with serializable `data`."""
self._send(receiver=receiver, data=data, conversation_id=conversation_id, **kwargs)

Expand Down

0 comments on commit 77988df

Please sign in to comment.