Skip to content

Commit

Permalink
Add fill to __all__ in ui and express.ui
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Jan 24, 2024
1 parent 39d80a5 commit dfe9337
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions shiny/express/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
strong,
)

from ...ui import (
fill,
)

from ...ui import (
AccordionPanel,
AnimationOptions,
Expand Down Expand Up @@ -169,6 +173,8 @@
"span",
"strong",
"tags",
# Submodules
"fill",
# Imports from ...ui
"AccordionPanel",
"AnimationOptions",
Expand Down
10 changes: 8 additions & 2 deletions shiny/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@
tags,
)

# Expose the following modules for extended usage: ex: ui.fill.as_fill_item(x)
from . import css, fill # noqa: F401 # pyright: ignore[reportUnusedImport]
from . import (
# The css module is for internal use, so we won't re-export it.
css, # noqa: F401 # pyright: ignore[reportUnusedImport]
# Expose the fill module for extended usage: ex: ui.fill.as_fill_item(x).
fill,
)
from ._accordion import (
AccordionPanel,
accordion,
Expand Down Expand Up @@ -346,6 +350,8 @@
"strong",
"em",
"hr",
# Submodules
"fill",
# utils
"js_eval",
)

0 comments on commit dfe9337

Please sign in to comment.