Skip to content

Commit 425cb4f

Browse files
committed
# HACK: Hoist all importmap-based elements here to fix lazy import
1 parent f415575 commit 425cb4f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

nicegui/client.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@
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
2132
from .favicon import get_favicon_url
2233
from .javascript_request import JavaScriptRequest
2334
from .logging import log

0 commit comments

Comments
 (0)