We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d400e47 commit 8ee90d5Copy full SHA for 8ee90d5
shiny/ui/_chat.py
@@ -742,7 +742,7 @@ async def _send_append_message(
742
async def append_status_message(
743
self,
744
content: str | Tag | HTML,
745
- type: Literal["dynamic", "static"] = "dynamic"
+ type: Literal["dynamic", "static"] = "dynamic",
746
) -> None:
747
"""
748
Append a status message to the chat.
@@ -763,7 +763,7 @@ async def append_status_message(
763
msg: ChatStatusMessage = {
764
"content": str(content),
765
"content_type": "html" if isinstance(content, (Tag, HTML)) else "text",
766
- "type": type
+ "type": type,
767
}
768
await self._send_custom_message("shiny-chat-append-status-message", msg)
769
0 commit comments