Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a generator expressions and raise exception if failing
Seems to be the most popular search alternative: https://stackoverflow.com/questions/8653516/python-list-of-dictionaries-search Raising StopIteration if not found is better than returning None to detect such an internal error more easily.
- Loading branch information