Skip to content

feat(create): add write_dataset() and complete _HashTrackingGroup proxy#177

Merged
gerchowl merged 1 commit intodevfrom
feature/0-python-builder-refinement
Mar 27, 2026
Merged

feat(create): add write_dataset() and complete _HashTrackingGroup proxy#177
gerchowl merged 1 commit intodevfrom
feature/0-python-builder-refinement

Conversation

@gerchowl
Copy link
Copy Markdown
Contributor

Summary

  • Add write_dataset() convenience method on Fd5Builder for writing individual datasets with inline hash tracking, without going through a ProductSchema
  • Complete _HashTrackingGroup proxy with __setitem__, require_group, __iter__, __len__, keys(), values(), items() to fully mirror common h5py.Group methods
  • Add integration tests for create-verify-validate roundtrip, write_dataset (flat, nested, existing-group paths), and all new proxy methods

Test plan

  • uv run pytest tests/test_create.py -x -- 48 tests pass
  • uv run pytest tests/ -x -- full suite 1243 tests pass
  • Pre-commit hooks pass

🤖 Generated with Claude Code

Add a write_dataset() convenience method on Fd5Builder so users can
write individual datasets with inline hashing without going through a
ProductSchema. Complete the _HashTrackingGroup proxy with __setitem__,
require_group, __iter__, __len__, keys/values/items to fully mirror
common h5py.Group methods.

Includes integration tests for the full create-verify-validate roundtrip,
write_dataset with flat/nested/existing-group paths, and all new proxy
methods.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gerchowl gerchowl merged commit 921539e into dev Mar 27, 2026
6 of 7 checks passed
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.

1 participant