Skip to content

Commit b091044

Browse files
authored
Add ViewerClient to rerun.experimental (#9828)
### Related * Closes #9827 ### What This adds `ViewerClient` to the `rerun.experimental` module.
1 parent c88946f commit b091044

File tree

5 files changed

+12
-16
lines changed

5 files changed

+12
-16
lines changed

docs/content/howto/logging/send-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pip install rerun-sdk[notebook] pyarrow pandas numpy
4141
### Connecting to the Viewer
4242

4343
```python
44-
from rerun_bindings import ViewerClient
44+
from rerun.experimental import ViewerClient
4545

4646
# Connect to a running Rerun Viewer
4747
client = ViewerClient(addr="rerun+http://0.0.0.0:9876/proxy")

docs/snippets/all/howto/send_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Sets the recording properties."""
22

33
import pyarrow as pa
4-
from rerun_bindings import ViewerClient
4+
from rerun.experimental import ViewerClient
55

66
client = ViewerClient(addr="rerun+http://0.0.0.0:9876/proxy")
77
client.send_table(

examples/python/notebook/send_table.ipynb

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
},
243243
{
244244
"cell_type": "code",
245-
"execution_count": 22,
245+
"execution_count": 1,
246246
"id": "ecd9f116-c6ab-4001-9529-c55dfb8794a0",
247247
"metadata": {},
248248
"outputs": [],
@@ -255,12 +255,12 @@
255255
"import pandas as pd\n",
256256
"import pyarrow as pa\n",
257257
"import rerun as rr\n",
258-
"from rerun_bindings import ViewerClient"
258+
"from rerun.experimental import ViewerClient"
259259
]
260260
},
261261
{
262262
"cell_type": "code",
263-
"execution_count": 24,
263+
"execution_count": 2,
264264
"id": "3374e673-368f-44d7-9545-05420a81de5b",
265265
"metadata": {},
266266
"outputs": [],
@@ -278,18 +278,10 @@
278278
},
279279
{
280280
"cell_type": "code",
281-
"execution_count": 27,
281+
"execution_count": 3,
282282
"id": "99b9192b-fdb5-48fe-9902-9cab5f273edf",
283283
"metadata": {},
284-
"outputs": [
285-
{
286-
"name": "stderr",
287-
"output_type": "stream",
288-
"text": [
289-
"\u001b[90m[\u001b[0m2025-04-08T09:36:24Z \u001b[1m\u001b[31mERROR\u001b[0m re_grpc_client::message_proxy::write\u001b[90m]\u001b[0m Write table call failed: status: Unavailable, message: \"tcp connect error: Connection refused (os error 61)\", details: [], metadata: MetadataMap { headers: {} }\n"
290-
]
291-
}
292-
],
284+
"outputs": [],
293285
"source": [
294286
"client.send_table(\n",
295287
" \"Hello from Notebook\",\n",

rerun_notebook/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rerun_py/rerun_sdk/rerun/experimental/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@
66
"""
77

88
from __future__ import annotations
9+
10+
from rerun_bindings import (
11+
ViewerClient as ViewerClient,
12+
)

0 commit comments

Comments
 (0)