Skip to content

Commit

Permalink
Add type hint (#1512)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 authored Apr 24, 2023
1 parent 759b222 commit f1a6f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__( # pylint: disable=too-many-arguments
self.state = ModbusTransactionState.IDLE
self.last_frame_end: float = 0
self.silent_interval: float = 0
self._reconnect_task = None
self._reconnect_task: asyncio.Task = None

# Initialize mixin
ModbusClientMixin.__init__(self)
Expand Down

0 comments on commit f1a6f92

Please sign in to comment.