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 HTTP server type hints #2035

Merged
merged 3 commits into from
Feb 20, 2024
Merged

Improve HTTP server type hints #2035

merged 3 commits into from
Feb 20, 2024

Conversation

alexrudd2
Copy link
Collaborator

Supersedes #2029

This solves another 15 errors with mypy --checkuntyped defs pymodbus (and a few for pyright that mypy does not find).

It also looks like it fixes a real bug with time.sleep() not being called correctly. (The existing code attempts to call time.time() instead.)

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 08fe70c into dev Feb 20, 2024
1 check passed
@janiversen janiversen deleted the http-server-types-2 branch February 20, 2024 19:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 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