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

Add Pyee EventWatcher #293

Merged
merged 4 commits into from
Sep 20, 2023
Merged

Add Pyee EventWatcher #293

merged 4 commits into from
Sep 20, 2023

Conversation

zxzxwu
Copy link
Collaborator

@zxzxwu zxzxwu commented Sep 20, 2023

bumble/utils.py Outdated Show resolved Hide resolved
bumble/utils.py Outdated Show resolved Hide resolved
bumble/utils.py Outdated Show resolved Hide resolved
bumble/utils.py Outdated Show resolved Hide resolved
@zxzxwu
Copy link
Collaborator Author

zxzxwu commented Sep 20, 2023

Looks there are some type error, checking

@zxzxwu zxzxwu changed the title Pyee watcher context Add Pyee EventWatcher Sep 20, 2023
@zxzxwu
Copy link
Collaborator Author

zxzxwu commented Sep 20, 2023

Probably because mypy cannot identify the type from context, so it is required to add overloading to fulfill it :(

bumble/utils.py Outdated Show resolved Hide resolved
bumble/utils.py Outdated Show resolved Hide resolved
bumble/utils.py Outdated Show resolved Hide resolved
bumble/utils.py Outdated Show resolved Hide resolved
@uael uael merged commit efd02b2 into google:main Sep 20, 2023
27 checks passed
@zxzxwu zxzxwu deleted the event_context branch January 19, 2024 15:46
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.

None yet

3 participants