Skip to content

feat(python): add concise index representations - #167

Merged
gouyt13 merged 1 commit into
mainfrom
feat/python-index-repr
Oct 27, 2026
Merged

gouyt13 merged 1 commit into
mainfrom
feat/python-index-repr

Conversation

@gouyt13

@gouyt13 gouyt13 commented Oct 27, 2026

Copy link
Copy Markdown
Member

Summary

Add one-line __repr__ summaries for IVF, HNSW and SymphonyQG indexes, showing configuration, counts and build state. Read metadata under one existing access guard; concurrent reads remain allowed and active mutations retain the busy error contract. Update stubs and usage documentation.

Testing

  • Seven new cases cover unbuilt/built/loaded states, raw/quantized storage, count changes and capacity growth. Existing concurrency tests also exercise repr/str.
  • Python suite: 811 passed, 6 skipped. Final installed-wheel checks: 55 passed; independent focused review: 29 passed.
  • Portable wheel build/install, full clang-tidy, C++ formatting, Ruff, mypy/Pyright, strict MkDocs and git diff --check passed.

Skipped tests require C++ example executables (4) or non-host platform wheels (2). Windows/ARM execution remains for PR CI.

@github-actions github-actions Bot added the release:added Release category managed from the PR title label Oct 27, 2026
@gouyt13
gouyt13 merged commit 6f8b3f3 into main Oct 27, 2026
43 checks passed
@gouyt13
gouyt13 deleted the feat/python-index-repr branch October 27, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:added Release category managed from the PR title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant