Skip to content

Commit ce10a37

Browse files
authored
tests(deploys): Move import from htmltools into code to help with debugging deploys (#1718)
1 parent 8ac44de commit ce10a37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shiny/render/_data_frame_utils/_html.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from typing import TYPE_CHECKING, Literal, cast, overload
44

5-
from htmltools import TagNode, is_tag_node
5+
from htmltools import TagNode
66

77
from ..._typing_extensions import TypeIs
88
from ...types import Jsonifiable
@@ -70,6 +70,8 @@ def ui_must_be_processed(
7070
def ui_must_be_processed( # pyright: ignore[reportInconsistentOverload]
7171
val: object,
7272
):
73+
from htmltools import is_tag_node
74+
7375
if isinstance(val, str):
7476
return False
7577

0 commit comments

Comments
 (0)