fhir-py
fhir-py copied to clipboard
Make fetch/fetch_all lazy
Sometimes we need to iterate over thousands of entries and I think it will be very useful if we can have fetch_all() as a generator. Now if we call fetch_all for thousands of entries we firstly wait until all entries are fetched.
Consider implementing lazy fetch for searchset iterating.
Done. But we need to add some tests.