Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shiny/render/_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async def render(self) -> JsonifiableDict | None:
ret = sync_value_fn()
if ret is not None:
raise RuntimeError(
"@render.display functions should not return values. (`None` is allowed)."
"@render.display functions should not return values. Instead, @render.display dynamically renders every printable line within the function body. (`None` is a valid return value.)"
)
finally:
sys.displayhook = orig_displayhook
Expand Down