I love this but there is a minor bug. Let's say we got 219 objects back from our api call, saving in batches will only save 200 of these 219 obejcts the other 19 will not be saved. We need to save if we are in the last iteration of our forloop.