libvcs
libvcs copied to clipboard
Object/dict filtering
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