You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Workspace selector |`hm.workspace_selector_from_env()`| Pick workspace when `HOTDATA_WORKSPACE` is unset |
18
+
| Connection picker |`hm.connection_picker(client)`| Dropdown of workspace connections |
19
+
| Connection status |`hm.connection_status(client)`| API / workspace health callout |
20
+
| Connections panel |`hm.connections_panel(client)`| Status callout plus connection list |
21
+
| Query result |`hm.query_result(result)`| Render a `QueryResult` as a table |
22
+
| Recent results |`hm.recent_results(client)`| Browse past query results |
23
+
| Run history |`hm.run_history(client)`| Recent query runs |
24
+
25
+
Each widget also has a `mo.ui.hotdata_*` alias (e.g. `mo.ui.hotdata_sql_editor`). Native Marimo SQL cells are supported via `hm.register_hotdata_sql_engine()` and `mo.sql(..., engine=client)`.
26
+
7
27
## Install
8
28
9
29
```bash
@@ -104,14 +124,15 @@ return writer.ui
104
124
105
125
## Other helpers
106
126
127
+
See [Supported widgets](#supported-widgets) for the full list. Quick examples:
128
+
107
129
```python
108
-
return hm.connection_status(client) # API / workspace callout
109
-
return hm.recent_results(client).ui # past query results
110
-
return hm.run_history(client) # recent query runs
130
+
return hm.connection_status(client)
131
+
return hm.connections_panel(client)
132
+
return hm.recent_results(client).ui
133
+
return hm.run_history(client)
111
134
```
112
135
113
-
Importing `hotdata_marimo` also registers `mo.ui.hotdata_*` aliases (e.g. `mo.ui.hotdata_sql_editor`).
0 commit comments