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 payload types #2057

Merged
merged 1 commit into from
Feb 25, 2024
Merged

Improve payload types #2057

merged 1 commit into from
Feb 25, 2024

Conversation

alexrudd2
Copy link
Collaborator

Solve another 5 mypy errors in pymodbus.payload.

Should also be a tiny perfomance boost due to reducing allocations.

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.

Payload should later be changed to work with mixin, so you e.g can do read_holding and get int32 directly

@janiversen janiversen merged commit 52cb60b into dev Feb 25, 2024
1 check passed
@janiversen janiversen deleted the types-payload branch February 25, 2024 06:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants