Skip to content

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
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