Skip to content

Fix wrong parameter name in function docstring. Fix set_values does not accept tuple.#2858

Merged
janiversen merged 3 commits intopymodbus-dev:devfrom
ul-gh:dev
Feb 6, 2026
Merged

Fix wrong parameter name in function docstring. Fix set_values does not accept tuple.#2858
janiversen merged 3 commits intopymodbus-dev:devfrom
ul-gh:dev

Conversation

@ul-gh
Copy link
Contributor

@ul-gh ul-gh commented Feb 2, 2026

Hello,

these are two fixes, should be self-explanatory and keeping changes minimal.

(And a fully typed pymodbus would be on my wishlist..)


:param address: The starting address
:param values: The new values to be set
f"""Set the requested values of the datastore.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems wrong, normally method documentation is not an f-string.

Remark, that is the reason why CI complains (did not check if it complains about other things).

@janiversen
Copy link
Collaborator

Please be aware that a new release is due in the coming 1-2 weeks.

Please correct the CI issue.

Ulrich-Lukas and others added 3 commits February 6, 2026 17:11
…le when register values are given as dictionary, but not when given directly with starting address.
@janiversen janiversen merged commit 6c202ec into pymodbus-dev:dev Feb 6, 2026
18 checks 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.

3 participants