Skip to content

Commit 597bf60

Browse files
committed
specify Plugin[Any] in JsonRPCClient
1 parent da8c7a5 commit 597bf60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flogin/jsonrpc/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class JsonRPCClient:
2222
reader: StreamReader
2323
writer: StreamWriter
2424

25-
def __init__(self, plugin: Plugin) -> None:
25+
def __init__(self, plugin: Plugin[Any]) -> None:
2626
self.tasks: dict[int, asyncio.Task] = {}
2727
self.requests: dict[int, asyncio.Future[Any | ErrorResponse]] = {}
2828
self._current_request_id = 1

0 commit comments

Comments
 (0)