Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor TreeIterator #678

Merged
merged 2 commits into from Mar 1, 2021
Merged

Refactor TreeIterator #678

merged 2 commits into from Mar 1, 2021

Conversation

molpopgen
Copy link
Owner

Better type hints. API improvements.

API Changes!

Add Python TreeIterator class inheriting from ll_TreeIterator.
API changes:
1. .nodes() no longer needs arguments
2. init methods now use more kwargs instead of all positional args.
@molpopgen molpopgen linked an issue Mar 1, 2021 that may be closed by this pull request
@molpopgen molpopgen merged commit e3cd5ae into dev Mar 1, 2021
@molpopgen molpopgen deleted the python_tree_iterator branch March 1, 2021 18:25
@molpopgen molpopgen added this to the 0.13.0 milestone Mar 1, 2021
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.

Improve type hints for mypy
1 participant