Skip to content

Properly document iterable (or generator) returns - #3527

Open
ZuolinCheng wants to merge 2 commits into
tskit-dev:mainfrom
ZuolinCheng:r8-174-issue-1852
Open

ZuolinCheng wants to merge 2 commits into
tskit-dev:mainfrom
ZuolinCheng:r8-174-issue-1852

Conversation

@ZuolinCheng

Copy link
Copy Markdown

Describe the return types of all-tree, shape, and labelling generators and the two tree sequence iterators consistently without altering API behavior.

Refs #1852

Validation

  • Import active source and verify five iterator types and their returned classes — All five runtime return types and restored Tree and Interval docstring links verified

PR Checklist:

  • Tests that fully cover new/changed functionality.
  • Documentation including tutorial content if appropriate.
  • Changelogs, if there are API changes.

AI assistance

OpenAI Codex (GPT-6.2 Sol) assisted with implementation and local tests. Gemini 4 Hydrogen High independently reviewed the initial patch, followed by local feedback handling and verification. This description was prepared with Codex assistance.

@jeromekelleher-bot

Copy link
Copy Markdown

🤖 AI generated message

Thanks for your interest in tskit, @ZuolinCheng, and for the work you have put into this.

We have just adopted a contribution policy (#3521), because maintainer time for review is limited. We now expect contributions to come from your own use of tskit, or from wanting to get involved in the project and learn how it works.

Could you read the policy and let us know how this pull request fits with it? It would help most to know what you were doing with tskit when you needed this change.

This note is on each of your open pull requests; one reply, on any of them, is enough.

This branch has not been deployed

No deployments
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.

2 participants