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

Degree Code Snippet doesn't consistently iterate over the nodes #61

Open
annaritz opened this issue Aug 17, 2020 · 0 comments
Open

Degree Code Snippet doesn't consistently iterate over the nodes #61

annaritz opened this issue Aug 17, 2020 · 0 comments
Labels
bug Something isn't working feature New features

Comments

@annaritz
Copy link
Collaborator

We currently cannot describe specific nodes in the tutorial (even with the Tutorial Network) because every time the graph is loaded, the iterators are not guaranteed to return the nodes/edges in the same order.

We may have to keep it like this - it's dangerous to impose an ordering when iterators by definition don't have an implicit ordering, since users may assume that's how python iterators work. That's why this is both a bug and a feature.

For now, we should write all tutorials without assuming a strict order for iteration.

@annaritz annaritz added bug Something isn't working feature New features labels Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature New features
Projects
None yet
Development

No branches or pull requests

1 participant