Skip to content

Conversation

zhyu
Copy link
Contributor

@zhyu zhyu commented May 13, 2022

Hi, thanks for making this nice library!

I found several typing issues while playing with the example. This PR contains my fixes.

):
ble_uuid = device["ble_uuid"]
for sesame_uuid, sesame_device in connected_devices.items():
if sesame_device.device.getDeviceStatus().value == CHDeviceLoginStatus.UnLogin: # type: ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I got complained about value is unknown. Not sure how to fix typings for aenum, so I ignored it :(

There is an open issue about aenum typing: ethanfurman/aenum#10, the error is not exact the same here though.

@codecov
Copy link

codecov bot commented May 24, 2022

Codecov Report

Merging #47 (5eb4a30) into main (63a7f93) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   93.90%   93.90%           
=======================================
  Files           8        8           
  Lines        1133     1133           
=======================================
  Hits         1064     1064           
  Misses         69       69           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 63a7f93...5eb4a30. Read the comment docs.

@mochipon mochipon mentioned this pull request May 25, 2022
@mochipon
Copy link
Owner

Hi @zhyu, nice catch and happy to see your first contribution! 🎉

As you pointed out, I did not spend much time for typing in the sample scripts and your contribution is much appreciated.

I just created #52 based on the latest master code and your contribution. Can you take a look and double-check there is no typing problem? Thank you!

@mochipon mochipon closed this May 25, 2022
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