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

Typing GATT #278

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Typing GATT #278

merged 1 commit into from
Sep 21, 2023

Conversation

zxzxwu
Copy link
Collaborator

@zxzxwu zxzxwu commented Sep 9, 2023

No description provided.

@zxzxwu zxzxwu requested review from barbibulle and AlanRosenthal and removed request for barbibulle September 9, 2023 13:58
bumble/att.py Outdated Show resolved Hide resolved
bumble/att.py Outdated Show resolved Hide resolved
bumble/att.py Outdated Show resolved Hide resolved
bumble/gatt.py Outdated Show resolved Hide resolved
bumble/gatt_client.py Outdated Show resolved Hide resolved
bumble/gatt_client.py Outdated Show resolved Hide resolved
bumble/gatt_server.py Outdated Show resolved Hide resolved
bumble/gatt_server.py Outdated Show resolved Hide resolved
bumble/gatt_client.py Show resolved Hide resolved
bumble/gatt_client.py Outdated Show resolved Hide resolved
@@ -216,8 +232,10 @@ class ProfileServiceProxy:
Base class for profile-specific service proxies
'''

SERVICE_CLASS: type[TemplateService]
Copy link
Collaborator

Choose a reason for hiding this comment

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

using lowercase type[] is only for Python >= 3.9. For Python 3.8, we still need to use Type[].

@zxzxwu zxzxwu merged commit d290df4 into google:main Sep 21, 2023
27 checks passed
@zxzxwu zxzxwu deleted the gatt2 branch September 21, 2023 08:09
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

2 participants