Skip to content

Commit 032903a

Browse files
authored
imptype (#48)
1 parent c4f1224 commit 032903a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

thingsdb/client/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import time
66
from collections import defaultdict
77
from ssl import SSLContext, PROTOCOL_TLS
8-
from typing import Optional, Union, Any, List
8+
from typing import Optional, Union, Any, List, Tuple
99
from concurrent.futures import CancelledError
1010
from .buildin import Buildin
1111
from .protocol import Proto, Protocol, ProtocolWS
@@ -145,8 +145,8 @@ def connection_info(self) -> str:
145145

146146
def connect_pool(
147147
self,
148-
pool: list,
149-
*auth: Union[str, tuple]
148+
pool: List[Union[str, Tuple[str, int]]],
149+
*auth: Union[str, Tuple[str, str]]
150150
) -> asyncio.Future[None]:
151151
"""Connect using a connection pool.
152152

thingsdb/room/roombase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _emit_handler(self, data):
262262
}
263263

264264
@staticmethod
265-
def event(event):
265+
def event(event: str):
266266
def wrapped(fun):
267267
fun._event = event
268268
return fun

thingsdb/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.8'
1+
__version__ = '1.1.9'

0 commit comments

Comments
 (0)