Skip to content

Make Emit a superclass#60

Open
bugadani wants to merge 4 commits into
Adam-Langley:masterfrom
STEAM-Academy-PRO:emit
Open

Make Emit a superclass#60
bugadani wants to merge 4 commits into
Adam-Langley:masterfrom
STEAM-Academy-PRO:emit

Conversation

@bugadani
Copy link
Copy Markdown

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
Comment thread pybleno/Bleno.py
else:
raise Exception('Unsupported platform')

from .hci_socket.Emit import Emit
Copy link
Copy Markdown
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