We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92e610 commit bc6d821Copy full SHA for bc6d821
pymodbus/client/async/deprecated/__init__.py
@@ -21,7 +21,7 @@
21
event_loop, future = Client(schedulers.IO_LOOP, port=5020)
22
23
# For twisted based async client use
24
- event_loop, future = Client(schedulers.REACTOR, port=5020)
+ event_loop, deferred = Client(schedulers.REACTOR, port=5020)
25
26
# For asyncio based async client use
27
event_loop, client = Client(schedulers.ASYNC_IO, port=5020)
@@ -44,4 +44,4 @@
44
45
46
def deprecated(name): # pragma: no cover
47
- warnings.warn(WARNING.format(name), DeprecationWarning)
+ warnings.warn(WARNING.format(name), DeprecationWarning)
0 commit comments