Skip to content

Conversation

@melonora
Copy link

@melonora melonora commented Dec 4, 2025

For all _iter_shard methods and functions there is a fallback to chunks when no shards are present, but this is not clear from either the name or the docstring. Though we can't quickly change the names, the docstrings could be more informative. In this PR I adjusted the docstrings.

Note: based on discussion with @d-v-b chunks technically do not have keys, but because of the fallback when shards are not present these are currently returned. Broader discussion will be whether chunks should also return keys.

The current situation stems from the ambiguity in the meanings of 'shard' and 'chunk'.

TODO:

  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

@joshmoore

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant