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

Additional typehints for corebluetooth #1518

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Conversation

Siecje
Copy link
Contributor

@Siecje Siecje commented Feb 22, 2024

No description provided.

@Siecje Siecje force-pushed the typehints_4 branch 2 times, most recently from b3b519e to 26f5cf2 Compare February 22, 2024 13:00
@@ -111,7 +111,7 @@ async def connect(self, **kwargs) -> bool:
self._peripheral
)

def disconnect_callback():
def disconnect_callback() -> bool:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be None instead of bool?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good catch! Fixed.

@dlech dlech merged commit d4ea9b6 into hbldh:develop Apr 28, 2024
13 checks passed
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.

2 participants