Skip to content

Commit 847663f

Browse files
committed
Remove HOTDATA_TOKEN messaging from marimo integration.
Keep marimo runtime checks aligned with the single HOTDATA_API_KEY environment contract.
1 parent 57cb511 commit 847663f

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

examples/hotdata_basic.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@ def _():
1818
@app.cell
1919
def _(hm, mo, os):
2020
mo.stop(
21-
not (
22-
os.environ.get("HOTDATA_API_KEY")
23-
or os.environ.get("HOTDATA_TOKEN")
24-
),
21+
not os.environ.get("HOTDATA_API_KEY"),
2522
mo.callout(
2623
mo.md(
27-
"Add **HOTDATA_API_KEY** (or **HOTDATA_TOKEN**) to your environment "
24+
"Add **HOTDATA_API_KEY** to your environment "
2825
"to run this example."
2926
),
3027
kind="warn",

hotdata_marimo/workspace_selector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def ui(self):
7777
def workspace_selector_from_env(*, label: str = "Workspace") -> WorkspaceSelector:
7878
api_key = default_api_key()
7979
if not api_key:
80-
raise RuntimeError("HOTDATA_API_KEY or HOTDATA_TOKEN must be set.")
80+
raise RuntimeError("HOTDATA_API_KEY must be set.")
8181
host = default_host()
8282
session = default_session_id()
8383
return WorkspaceSelector(

0 commit comments

Comments
 (0)