diff libervia/pages/lists/_browser/__init__.py @ 1510:5ea06e8b06ed

browser: make bridge API closer to the one use with other frontends: `bridge.AsyncBridge` is not used instead of `aio_bridge.Bridge`
author Goffi <goffi@goffi.org>
date Mon, 22 May 2023 11:57:44 +0200
parents 106bae41f5c8
children
line wrap: on
line diff
--- a/libervia/pages/lists/_browser/__init__.py	Sat Apr 08 13:44:11 2023 +0200
+++ b/libervia/pages/lists/_browser/__init__.py	Mon May 22 11:57:44 2023 +0200
@@ -1,9 +1,9 @@
 from browser import DOMNode, document, aio
 from javascript import JSON
-from aio_bridge import bridge, BridgeException
+from bridge import AsyncBridge as Bridge, BridgeException
 import dialog
 
-bridge = bridge()
+bridge = Bridge()
 
 
 async def on_delete(evt):