Skip to content
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

Merged
merged 2 commits into from
Jan 25, 2025
Merged

Typo arround no_response_expected #2550

merged 2 commits into from
Jan 25, 2025

Conversation

MrWaloo
Copy link
Contributor

@MrWaloo MrWaloo commented Jan 25, 2025

Documentation typo and advanced modbus message call example.
No breaking change, only cosmetic.

Documentation typo and advanced modbus message call example.
No breaking change, only cosmetic.
Copy link
Collaborator

@janiversen janiversen left a 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.

@@ -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)
Copy link
Collaborator

@janiversen janiversen Jan 25, 2025

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

# or
request = ReadCoilsRequest(1,10)
response = await client.execute(request)
response = await client.execute(no_response_expected=False, request=request)
Copy link
Collaborator

@janiversen janiversen Jan 25, 2025

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.

@MrWaloo
Copy link
Contributor Author

MrWaloo commented Jan 25, 2025

Indeed, it is positional:

Thank you for pointing it.

@MrWaloo MrWaloo requested a review from janiversen January 25, 2025 20:23
Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@janiversen janiversen merged commit 00425d8 into pymodbus-dev:dev Jan 25, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants