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

Document iteration order of multi-dict #231

Open
udalrich opened this issue Jan 31, 2024 · 0 comments
Open

Document iteration order of multi-dict #231

udalrich opened this issue Jan 31, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@udalrich
Copy link

The iteration order when iterating over a MultiDict (e.g., with map or values is not specified anywhere in the documentation that I can find.

I suspect that the order is implementation dependent, which is fine. If that is the case, it should be documented.

In my current use case, I am hoping that the iteration order is the insertion order. Since I don't know the order, I don't know if I can use a MultiDict[A, B] or if I need to work with a Map[A, List[B]] which would be more cumbersome.

@SethTisue SethTisue added the help wanted Extra attention is needed label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants