From 4b83e59137a8b577b946637e297f601765e71ac2 Mon Sep 17 00:00:00 2001 From: Alex <52292902+alexrudd2@users.noreply.github.com> Date: Thu, 8 Aug 2024 17:39:19 -0500 Subject: [PATCH] example docstrings diag_message -> pdu.diag_message (#2286) --- examples/client_async_calls.py | 4 ++-- examples/client_calls.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/client_async_calls.py b/examples/client_async_calls.py index 6456006f5..3f58c5673 100755 --- a/examples/client_async_calls.py +++ b/examples/client_async_calls.py @@ -13,8 +13,8 @@ If you are performing a request that is not available in the client mixin, you have to perform the request like this instead:: - from pymodbus.diag_message import ClearCountersRequest - from pymodbus.diag_message import ClearCountersResponse + from pymodbus.pdu.diag_message import ClearCountersRequest + from pymodbus.pdu.diag_message import ClearCountersResponse request = ClearCountersRequest() response = client.execute(request) diff --git a/examples/client_calls.py b/examples/client_calls.py index c1de95f93..3b3971fdf 100755 --- a/examples/client_calls.py +++ b/examples/client_calls.py @@ -13,8 +13,8 @@ If you are performing a request that is not available in the client mixin, you have to perform the request like this instead:: - from pymodbus.diag_message import ClearCountersRequest - from pymodbus.diag_message import ClearCountersResponse + from pymodbus.pdu.diag_message import ClearCountersRequest + from pymodbus.pdu.diag_message import ClearCountersResponse request = ClearCountersRequest() response = client.execute(request)