Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

Fix double backticks in broadcast_raw_notification docstring (#9657)

Myles Scolnick9dc53357499e
diff --git a/marimo/_code_mode/_context.py b/marimo/_code_mode/_context.py
index e4f352ef50..52853eadcc 100644
--- a/marimo/_code_mode/_context.py
+++ b/marimo/_code_mode/_context.py
@@ -1839,15 +1839,15 @@ class AsyncCodeModeContext:
)
def broadcast_raw_notification(self, notification: Notification) -> None:
- """Low-level: broadcast a fully-constructed ``Notification`` to the frontend.
+ """Low-level: broadcast a fully-constructed `Notification` to the frontend.
Escape hatch for emitting notification payloads directly; the
payload is delivered as-is, with no validation, batching, or
- debouncing. Prefer a higher-level helper on ``ctx`` when one exists.
+ debouncing. Prefer a higher-level helper on `ctx` when one exists.
- See ``marimo._messaging.notification`` for the full discriminated
- union. Agent-facing subtypes include ``BannerNotification`` (persistent
- banner) and ``AlertNotification`` (modal dialog).
+ See `marimo._messaging.notification` for the full discriminated
+ union. Agent-facing subtypes include `BannerNotification` (persistent
+ banner) and `AlertNotification` (modal dialog).
"""
broadcast_notification(notification, stream=self._kernel.stream) # type: ignore[arg-type]