Skip to content

Commit 64ffe80

Browse files
committed
# HACK: Hoist all importmap-based elements here to fix lazy import
1 parent cac3b10 commit 64ffe80

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

nicegui/client.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@
1818
from .awaitable_response import AwaitableResponse
1919
from .dependencies import generate_resources
2020
from .element import Element
21+
22+
# HACK: Hoist all importmap-based elements here to fix lazy import
23+
from .elements.aggrid.aggrid import AgGrid # noqa: F401 # pylint: disable=unused-import
24+
from .elements.codemirror.codemirror import CodeMirror # noqa: F401 # pylint: disable=unused-import
25+
from .elements.echart.echart import EChart # noqa: F401 # pylint: disable=unused-import
26+
from .elements.joystick.joystick import Joystick # noqa: F401 # pylint: disable=unused-import
27+
from .elements.json_editor.json_editor import JsonEditor # noqa: F401 # pylint: disable=unused-import
28+
from .elements.leaflet.leaflet import Leaflet # noqa: F401 # pylint: disable=unused-import
29+
from .elements.mermaid.mermaid import Mermaid # noqa: F401 # pylint: disable=unused-import
30+
from .elements.plotly.plotly import Plotly # noqa: F401 # pylint: disable=unused-import
31+
from .elements.scene.scene import Scene # noqa: F401 # pylint: disable=unused-import
32+
from .elements.xterm.xterm import Xterm # noqa: F401 # pylint: disable=unused-import
2133
from .favicon import get_favicon_url
2234
from .javascript_request import JavaScriptRequest
2335
from .logging import log

0 commit comments

Comments
 (0)