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

Make Emit a superclass #60

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bugadani
Copy link

Pyright does not understand how previously the event emitter was set up. This PR refactors the patch into a superclass, which better aligns with the bleno source anyway.

@bugadani bugadani marked this pull request as draft May 27, 2024 11:03
@@ -16,6 +15,7 @@
else:
raise Exception('Unsupported platform')

from .hci_socket.Emit import Emit
Copy link
Author

Choose a reason for hiding this comment

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

Import moved after L13 because the glob import results in Emit referring to the module, not the class.

@bugadani bugadani marked this pull request as ready for review May 27, 2024 12:01
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