Skip to content

Commit

Permalink
Update mixin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWaloo committed Jan 25, 2025
1 parent 09208ec commit a7dc5aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymodbus/client/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(no_response_expected=False, request=request)
response = client.execute(False, request)
# or
request = ReadCoilsRequest(1,10)
response = await client.execute(no_response_expected=False, request=request)
response = await client.execute(False, request)
.. tip::
All methods can be used directly (synchronous) or
Expand Down

0 comments on commit a7dc5aa

Please sign in to comment.