Skip to content

Commit

Permalink
__init__: fix mypy error about overlapping overloads
Browse files Browse the repository at this point in the history
  • Loading branch information
dlech committed Jul 20, 2023
1 parent 401e71a commit 05793e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bleak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async def discover(
@overload
@classmethod
async def discover(
cls, timeout: float = 5.0, *, return_adv: Literal[True] = True, **kwargs
cls, timeout: float = 5.0, *, return_adv: Literal[True], **kwargs
) -> Dict[str, Tuple[BLEDevice, AdvertisementData]]:
...

Expand Down

0 comments on commit 05793e1

Please sign in to comment.