Skip to content

Commit 7dc7c7c

Browse files
fixed path issue with communicator
1 parent f26ace6 commit 7dc7c7c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
from typing import Optional
21
from ..models.socket_client import SocketClient
32

3+
44
class Communicator:
55
def clients() -> list[SocketClient]:
66
"""Returns a list of all clients."""
77
...
8+
89
def client(id: str) -> SocketClient | None:
910
"""Returns a client by id."""
1011
...

src/socketio_driver/providers/socket_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from masonite.packages import PackageProvider
44

5-
from src.socketio_driver.communicator import Communicator
5+
from ..communicator import Communicator
66

77
from ..drivers.socket_driver import SocketDriver
88

0 commit comments

Comments
 (0)