Skip to content

Commit 68cce03

Browse files
committed
Fix type hint for ReactiveServer
1 parent 0808283 commit 68cce03

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pymodbus_repl/server/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
from pymodbus_repl import __VERSION__ as repl_version
1818
from pymodbus_repl.lib.completer import CmdCompleter
1919
from pymodbus_repl.lib.helper import Command, style
20+
from pymodbus_repl.lib.reactive import (
21+
ReactiveServer,
22+
)
2023

2124

2225
TITLE = r"""
@@ -167,7 +170,7 @@ def _print_help():
167170
_print_help()
168171

169172

170-
def print_server_config(server: "ReactiveServer", print_server_context: bool = False, *extra) -> dict: # noqa
173+
def print_server_config(server: ReactiveServer, print_server_context: bool = False, *extra) -> dict:
171174
"""Print server config."""
172175
print_formatted_text()
173176
print_formatted_text(HTML("<u>Server Configs:</u>"))

0 commit comments

Comments
 (0)