RedHatInsights/insights-host-inventory

Extract the marker pagination

Closed this issue · 1 comments

The marker pagination code (from #143) used to download is a great candidate for extraction. This is a very common pattern that is probably going to be used not only in the future here, but also possibly in other repositories.

My idea is that this will be some kind of iterator. It would be constructed from a base query and a list of the marker columns and would then yield single records.

#143 won’t most probably get merged. Closing this altogether.