File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 12
12
ChangeAsciiInputDelimiterRequest ,
13
13
ClearCountersRequest ,
14
14
ClearOverrunCountRequest ,
15
+ DiagnosticBase ,
15
16
ForceListenOnlyModeRequest ,
16
17
GetClearModbusPlusRequest ,
17
18
RestartCommunicationsOptionRequest ,
@@ -386,7 +387,7 @@ def get_com_event_log(self, **kwargs):
386
387
387
388
def _execute_diagnostic_request (self , request ):
388
389
"""Execute diagnostic request."""
389
- resp : DiagnosticStatusResponse = self .execute (request )
390
+ resp : DiagnosticBase = self .execute (request )
390
391
if not resp .isError ():
391
392
return {
392
393
"function code" : resp .function_code ,
Original file line number Diff line number Diff line change 12
12
13
13
import typer
14
14
from pymodbus import pymodbus_apply_logging_config
15
- from pymodbus .logging import Log
16
15
from pymodbus .framer import FramerType
16
+ from pymodbus .logging import Log
17
17
from typing_extensions import Annotated
18
18
19
19
from pymodbus_repl .lib .reactive import (
You can’t perform that action at this time.
0 commit comments