does ndb have a list property

Viewed 7716

Instead of a single StringProperty(), I want to store a list of strings

class BlogPost(ndb.Model):
    s1 = ndb.StringProperty(required=True)
    s2 = ndb.StringProperty(required=True)
    s3 = ndb.StringProperty(required=True)

I would rather go

class BlogPost(ndb.Model):
    my_strings = ndb.StringListProperty() # does this exist?
2 Answers
Related