Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve type of parameter values of write_registers #2411

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

MAKOMO
Copy link
Contributor

@MAKOMO MAKOMO commented Oct 24, 2024

To use write_registers type correctly with inhomogeneous lists of type list[int] or list[bytes] as values, we promote the type of the parameter values from list to Sequence (see Issue #2368)

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
Copy link
Collaborator

FYI, in the main directory you will find check_ci.sh a small utility that runs like CI, but locally and thereby allow ruff and others to automatically change the code, instead of just suggesting it.

@janiversen janiversen merged commit 144e43b into pymodbus-dev:dev Oct 24, 2024
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