-
Notifications
You must be signed in to change notification settings - Fork 956
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
Typo arround no_response_expected
#2550
Conversation
Documentation typo and advanced modbus message call example. No breaking change, only cosmetic.
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.
Looks good, apart from the added arguments, please correct.
pymodbus/client/mixin.py
Outdated
@@ -37,10 +37,10 @@ class ModbusClientMixin(Generic[T]): # pylint: disable=too-many-public-methods | |||
Advanced modbus message call:: | |||
|
|||
request = ReadCoilsRequest(1,10) | |||
response = client.execute(request) | |||
response = client.execute(no_response_expected=False, request=request) |
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.
Is is a positional parameter
pymodbus/client/mixin.py
Outdated
# or | ||
request = ReadCoilsRequest(1,10) | ||
response = await client.execute(request) | ||
response = await client.execute(no_response_expected=False, request=request) |
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.
It is a positional parameter.
Indeed, it is positional:
Thank you for pointing it. |
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.
LGTM, thanks.
Documentation typo and advanced modbus message call example.
No breaking change, only cosmetic.