After looking through the docs on App Engine and the StringListProperty
or the ListProperty
I can't seem to find whether there is a guarantee on the order of the items in the list. That is, I'd like to be certain that the list order stays the same despite putting and getting from the DataStore:
instance = MyModel()
instance.list_property = ['a', 'b', 'c']
instance.put()
# Retrieve the model again
instance2 = MyModel.get_by_id(instance.key().id())
assert instance2.list_property == ['a', 'b', 'c']
Does AppEngine make any guarantees about the order of items in a List or StringList?