def get(self): places = list(Location.all(keys_only=True)) for i in xrange(len(places)): QueueHandler.queue_fetch(places[i], 5*i)