You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the option defer_start=True in AsyncModbusTcpClient is not honoured anymore in Pymodbus 3.2.2 (I think it was working in 3.1.x). Regardless of whether defer_start is True or False, the function will block once it's awaited. In itself, removing defer_start, that's not necessarily a showstopper, and code can be adapted to work with it, but this breaks a lot of code and it's a bit annoying that this breaking change was made in a minor release.
The text was updated successfully, but these errors were encountered:
If I remember right it also is no longer documented. We do not support defer_start, if you want that you need to instantiate the class e.g. ModbusTcpServer, and do whatever task handling you want.
Versions
Pymodbus Specific
Description
It seems the option
defer_start=True
inAsyncModbusTcpClient
is not honoured anymore in Pymodbus3.2.2
(I think it was working in 3.1.x). Regardless of whetherdefer_start
isTrue
orFalse
, the function will block once it's awaited. In itself, removingdefer_start
, that's not necessarily a showstopper, and code can be adapted to work with it, but this breaks a lot of code and it's a bit annoying that this breaking change was made in a minor release.The text was updated successfully, but these errors were encountered: