Skip to content

Commit 211ee97

Browse files
fix: more type checking client.py
1 parent 99a0460 commit 211ee97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tcp_modbus_aio/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,14 @@ async def _get_tcp_connection(
200200

201201
return reader, writer
202202

203-
async def __aenter__(self) -> Self:
203+
async def __aenter__(self) -> "Self":
204204
return self
205205

206206
async def __aexit__(
207207
self,
208208
exc_type: type[BaseException] | None,
209209
exc_val: BaseException | None,
210-
exc_tb: TracebackType | None,
210+
exc_tb: "TracebackType" | None,
211211
) -> None:
212212
await self.close()
213213

0 commit comments

Comments
 (0)