rerun
rerun copied to clipboard
New API for sending files without a recording stream
Related
- Related to #9303
- This here is an easy more straight forward alternative
What
Often it's useful to open a file without creating a recording. In particular for...
- loading an rbl without yet setting up anything else
- loading an rrd
- oneshot visualization, i.e. anything you'd do with
rerun <my file>
Today this requires creating a recording stream which always willl create a new recording that clutters the viewer.
Usage example:
viewer = rr.notebook.Viewer(width=1100, height=800, url=dataset.partition_url(first_episode))
viewer.send_file("droid.rbl")
viewer.display()
Note that in particular for the notebook this works without any existing sinks.
Draft:
- [ ] check with teammates if we want it in this form - interaction with existing sinks is a bit strange
- [ ] add example / test
- [ ] expose to regular python api, not just notebook?
- [ ] improve docs
Web viewer built successfully. If applicable, you should also test it:
- [ ] I have tested the web viewer
| Result | Commit | Link | Manifest |
|---|---|---|---|
| ✅ | 57122c7 | https://rerun.io/viewer/pr/9506 | +nightly +main |
Note: This comment is updated whenever you push a commit.
We're going with https://github.com/rerun-io/rerun/pull/9804 instead for 0.23.1
shelving this indefinitely