Example #1
0
class UploadingWidget(Model):
    name = ndb.StringProperty()
    file1 = ndb.BlobKeyProperty()
    file2 = ndb.BlobKeyProperty()
Example #2
0
class Person(Model):
    title = ndb.StringProperty(required=True)
    content = ndb.TextProperty()
class Sprocket(Model):
    class Meta:
        behaviors = (searchable.Searchable,)

    stamp = ndb.IntegerProperty()
    name = ndb.StringProperty()
Example #4
0
class Widget(Model):
    name = ndb.StringProperty()
Example #5
0
class BehaviorTestModel(Model):
    class Meta:
        behaviors = (TestBehavior,)

    string_one = ndb.StringProperty()
    string_two = ndb.StringProperty()
Example #6
0
class RestWidget(Model):
    name = ndb.StringProperty()
    datetime = ndb.DateTimeProperty()
    ref = ndb.KeyProperty()