Skip to content

Commit 5903080

Browse files
chore: remove OpenEarableIPCClient compatibility alias
1 parent 08f355a commit 5903080

3 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/open_wearables/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
IPCProtocolError,
66
IPCRemoteError,
77
IPCStreamError,
8-
OpenEarableIPCClient,
98
OpenWearableIPCClient,
109
StreamEvent,
1110
StreamSubscription,
@@ -17,7 +16,6 @@
1716
"IPCProtocolError",
1817
"IPCRemoteError",
1918
"IPCStreamError",
20-
"OpenEarableIPCClient",
2119
"OpenWearableIPCClient",
2220
"SensorDataset",
2321
"StreamEvent",

src/open_wearables/ipc/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .client import OpenEarableIPCClient, OpenWearableIPCClient, StreamSubscription
1+
from .client import OpenWearableIPCClient, StreamSubscription
22
from .errors import (
33
IPCClosedError,
44
IPCError,
@@ -14,7 +14,6 @@
1414
"IPCProtocolError",
1515
"IPCRemoteError",
1616
"IPCStreamError",
17-
"OpenEarableIPCClient",
1817
"OpenWearableIPCClient",
1918
"StreamEvent",
2019
"StreamSubscription",

src/open_wearables/ipc/client.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class StreamSubscription:
3333

3434
def __init__(
3535
self,
36-
client: "OpenEarableIPCClient",
36+
client: "OpenWearableIPCClient",
3737
subscription_id: int,
3838
stream: str,
3939
device_id: str,
@@ -423,7 +423,3 @@ async def _handle_event(self, message: dict[str, Any]) -> None:
423423
queue = self._subscriptions.pop(subscription_id, None)
424424
if queue is not None:
425425
await queue.put(_STREAM_END)
426-
427-
428-
# Backward-compatible alias for older public API users.
429-
OpenEarableIPCClient = OpenWearableIPCClient

0 commit comments

Comments
 (0)