Skip to content

Conversation

@MrWaloo
Copy link
Contributor

@MrWaloo MrWaloo commented Aug 23, 2025

Current output of

print(f"{anyFunctionInstance}")

is (for example):

ReadHoldingRegistersRequest(dev_id=1, transaction_id=0, address=12503, count=7, bits=[], registers=[], status=1retries=0)

A coma is missing between status and retries, it should be:

ReadHoldingRegistersRequest(dev_id=1, transaction_id=0, address=12503, count=7, bits=[], registers=[], status=1, retries=0)

This humble PR corrects it.

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@janiversen janiversen merged commit 1e07d7f into pymodbus-dev:dev Aug 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants