'Iterator constructor
Args:
model_class: Model class from which entities are constructed.
datastore_iterator: Underlying datastore iterator.'

def __init__(self, model_class, datastore_iterator):

    self.__model_class = model_class
    self.__iterator = datastore_iterator
