| Server IP : 186.64.123.29 / Your IP : 216.73.217.94 Web Server : LiteSpeed System : Linux house.hostinglat.cl 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : tuemp9827 ( 1016) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/jeepney/integrate/ |
Upload File : |
"""Deprecated: use jeepney.io.tornado instead"""
from warnings import warn
from jeepney.io.tornado import *
warn("jeepney.integrate.tornado is deprecated. Tornado is now built on top of "
"asyncio, so please use jeepney.io.asyncio instead.", stacklevel=2)
async def connect_and_authenticate(bus='SESSION'):
conn = await open_dbus_connection(bus)
return DBusRouter(conn)
if __name__ == '__main__':
rtr = IOLoop.current().run_sync(connect_and_authenticate)
print("Unique name is:", rtr.unique_name)