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

exclude abstract base class from message registry #231

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

spyoungtech
Copy link
Owner

@spyoungtech spyoungtech commented Aug 22, 2023

A simple fix for a typing issue that was surfaced when upgrading to mypy version 1.5.1 where the (abstract) base ResponseMessage class was included in the message. The base class is now removed from the registry by default. Since that message type can never be unpacked anyhow (even if the class could be instantiated), this shouldn't cause any incompatibility with previous versions.

Supersedes #227

@spyoungtech spyoungtech merged commit 7615f93 into main Aug 22, 2023
8 checks passed
@spyoungtech spyoungtech deleted the mypy-fix branch August 22, 2023 22:35
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.

1 participant