Skip to content

Commit

Permalink
bluezdbus/scanner: rename BlueZScannerArgs
Browse files Browse the repository at this point in the history
This renames `BlueZArgs` to `BlueZScannerArgs` so that we won't
conflict with a future similar type for BleakClient.
  • Loading branch information
dlech committed Jul 25, 2022
1 parent 7319c39 commit 487daa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bleak/backends/bluezdbus/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class BlueZDiscoveryFilters(TypedDict, total=False):
Pattern: str


class BlueZArgs(TypedDict, total=False):
class BlueZScannerArgs(TypedDict, total=False):
"""
:class:`BleakScanner` args that are specific to the BlueZ backend.
"""
Expand Down Expand Up @@ -73,7 +73,7 @@ def __init__(
service_uuids: Optional[List[str]] = None,
scanning_mode: Literal["active", "passive"] = "active",
*,
bluez: BlueZArgs = {},
bluez: BlueZScannerArgs = {},
**kwargs,
):
super(BleakScannerBlueZDBus, self).__init__(detection_callback, service_uuids)
Expand Down

0 comments on commit 487daa9

Please sign in to comment.