Skip to content

Commit abfce7d

Browse files
authored
Python 3.12 (#43)
* Compat 3.12 * setup * get_current_loop
1 parent c5e7a2a commit abfce7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thingsdb/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(
4444
used. Defaults to `None`.
4545
"""
4646

47-
self._loop = loop if loop else asyncio.get_event_loop()
47+
self._loop = loop if loop else asyncio.get_running_loop()
4848
self._auth = None
4949
self._pool = None
5050
self._protocol = None

0 commit comments

Comments
 (0)