Skip to content

Why is ModbusTransactionManager not in transaction.__all__? #1437

Answered by janiversen
jamesbraza asked this question in Q&A
Discussion options

You must be logged in to vote

If you are testing your device, you should use e.g. client_calls and not patch anything.

If you are simulating your device, I recommend using server/simulator.

But anyhow if you patch comms at ModbusTransactionManager level, you patch internally in pymodbus and at that level we do not provide all (in some places you can still find it, because no code is perfect).

We consider pymodbus one module, and thus all interfaces must have all to be pep8 compliant. Our internal structure is of course available in the source but it changes between version without notification.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@jamesbraza
Comment options

@janiversen
Comment options

@janiversen
Comment options

Answer selected by janiversen
Comment options

You must be logged in to vote
3 replies
@jamesbraza
Comment options

@janiversen
Comment options

@jamesbraza
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants