Skip to content

Commit 145ee54

Browse files
committed
Add fill to __all__ in ui and express.ui
1 parent 39d80a5 commit 145ee54

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-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: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@
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+
from . import (
35+
css, # noqa: F401 # pyright: ignore[reportUnusedImport]
36+
# Expose the fill module for extended usage: ex: ui.fill.as_fill_item(x)
37+
fill,
38+
)
3639
from ._accordion import (
3740
AccordionPanel,
3841
accordion,
@@ -346,6 +349,8 @@
346349
"strong",
347350
"em",
348351
"hr",
352+
# Submodules
353+
"fill",
349354
# utils
350355
"js_eval",
351356
)

0 commit comments

Comments
 (0)