Skip to content

Commit 585777c

Browse files
authored
Add fill to __all__ in ui and express.ui (#1064)
1 parent 39d80a5 commit 585777c

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

shiny/express/ui/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
strong,
3030
)
3131

32+
from ...ui import (
33+
fill,
34+
)
35+
3236
from ...ui import (
3337
AccordionPanel,
3438
AnimationOptions,
@@ -169,6 +173,8 @@
169173
"span",
170174
"strong",
171175
"tags",
176+
# Submodules
177+
"fill",
172178
# Imports from ...ui
173179
"AccordionPanel",
174180
"AnimationOptions",

shiny/ui/__init__.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@
3131
tags,
3232
)
3333

34-
# Expose the following modules for extended usage: ex: ui.fill.as_fill_item(x)
35-
from . import css, fill # noqa: F401 # pyright: ignore[reportUnusedImport]
34+
# The css module is for internal use, so we won't re-export it.
35+
from . import css # noqa: F401 # pyright: ignore[reportUnusedImport]
36+
37+
# Expose the fill module for extended usage: ex: ui.fill.as_fill_item(x).
38+
from . import fill
39+
3640
from ._accordion import (
3741
AccordionPanel,
3842
accordion,
@@ -346,6 +350,8 @@
346350
"strong",
347351
"em",
348352
"hr",
353+
# Submodules
354+
"fill",
349355
# utils
350356
"js_eval",
351357
)

0 commit comments

Comments
 (0)