libvcs icon indicating copy to clipboard operation
libvcs copied to clipboard

Object/dict filtering

Open tony opened this issue 2 years ago • 0 comments

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 avatar Apr 22 '22 23:04 tony