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

Object/dict filtering #333

Open
tony opened this issue Apr 22, 2022 · 0 comments · May be fixed by #334
Open

Object/dict filtering #333

tony opened this issue Apr 22, 2022 · 0 comments · May be fixed by #334

Comments

@tony
Copy link
Member

tony commented Apr 22, 2022

We need a way to return a list of objects. Should be:

  • Simplicity over performance
  • Not meant for speed. ~100 objects.
  • Iterable as a list through a for loop
  • Iterable as a dictionary (pk, obj) via .items()
  • Support direct lookups via a pk (e.g. git remote name)
  • Support any (fixed) type of list item
  • Type annotated

Nice to have:

  • Should be comparable to other queryset objects

    Including inner data, if possible

  • One file

  • Simple

@tony tony linked a pull request Apr 22, 2022 that will close this issue
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 a pull request may close this issue.

1 participant