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 99a0460 commit 211ee97Copy full SHA for 211ee97
tcp_modbus_aio/client.py
@@ -200,14 +200,14 @@ async def _get_tcp_connection(
200
201
return reader, writer
202
203
- async def __aenter__(self) -> Self:
+ async def __aenter__(self) -> "Self":
204
return self
205
206
async def __aexit__(
207
self,
208
exc_type: type[BaseException] | None,
209
exc_val: BaseException | None,
210
- exc_tb: TracebackType | None,
+ exc_tb: "TracebackType" | None,
211
) -> None:
212
await self.close()
213
0 commit comments