-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cyphal/UDP: remove the default local_node_id #337
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please bump the patch version. See CONTRIBUTING.md for details.
pycyphal/transport/udp/_udp.py
Outdated
@@ -64,7 +64,7 @@ class UDPTransport(pycyphal.transport.Transport): | |||
def __init__( | |||
self, | |||
local_ip_address: IPAddress | str, | |||
local_node_id: typing.Optional[int] = 0, | |||
local_node_id: typing.Optional[int] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local_node_id: typing.Optional[int] = None, | |
local_node_id: typing.Optional[int], |
I originally wrote None
in the issue but then realized that the default should be absent for consistency with the other transports, and updated the issue accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should I bump version to 1.18.1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please.
Please also fix the failed test affected by this change |
(history rewrite is not necessary because all commits will be squashed upon merging) |
addresses #323