Skip to content Skip to sidebar Skip to footer
Showing posts with the label App Engine Ndb

How To Assign Default Value To All Ndb Datastore Entries?

I have to add one new property to my existing NDB class: class AppList(ndb.Model): ... igno… Read more How To Assign Default Value To All Ndb Datastore Entries?

How To Check If Ndb Model Is Valid

I have a model class like: class Book(ndb.Model): title = ndb.StringProperty(required=True) … Read more How To Check If Ndb Model Is Valid

Ndb Model - Retrieve Ordered Set Of Property Names

I'm often asked to export data stored in NDB models to csv. For that purpose, I usually ended u… Read more Ndb Model - Retrieve Ordered Set Of Property Names

Workaround To Return A List From A Computedproperty Function In Ndb

I am converting my app to use NDB. I used to have something like this before: @db.ComputedProperty … Read more Workaround To Return A List From A Computedproperty Function In Ndb

Appengine Mapreduce Ndb, Deadlineexceedederror

we're trying to heavily use MapReduce in our project. Now we have this problem, there is a lot… Read more Appengine Mapreduce Ndb, Deadlineexceedederror

Ndb To_dict Method Does Not Include Object's Key

I am leveraging ndb's to_dict method to convert an object's properties into a python dict. … Read more Ndb To_dict Method Does Not Include Object's Key

Google App Engine: Modifying 1000 Entities Using TaskQueue

I am hoping to modify 1000 entities using task queue, as suggested Zig Mandel in my original questi… Read more Google App Engine: Modifying 1000 Entities Using TaskQueue

Difference Between DateProperty And DateTimeProperty

In layman's term, what's the difference between ndb.DateProperty and ndb.DateTimeProperty? … Read more Difference Between DateProperty And DateTimeProperty