Skip to content

Add iteration and length support to RRDArchive#12754

Open
terror wants to merge 1 commit into
rerun-io:mainfrom
terror:iterate-archive
Open

Add iteration and length support to RRDArchive#12754
terror wants to merge 1 commit into
rerun-io:mainfrom
terror:iterate-archive

Conversation

@terror
Copy link
Copy Markdown

@terror terror commented May 8, 2026

Resolves #11206

This diff makes rerun.recording.RRDArchive more Pythonic by adding __len__ and __iter__. Archives can now be used directly with len(archive) and for recording in archive, matching the existing num_recordings and all_recordings behavior without changing the underlying loading logic.

@terror terror force-pushed the iterate-archive branch from fb41eca to ea837d3 Compare May 10, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add __iter__ and __len__ to RRDArchive

1 participant