Skip to content Skip to sidebar Skip to footer

No Implementation For Kind Exception Python Google App Engine

I'm trying to access a reference property of an ndb PolyModel subclass from a db Expando subclass. My two classes look like this: class Foo(polymodel.PolyModel): ... class Bar

Solution 1:

Your Bar and Foo classes need to be imported. until you have imported them, the underlying mechanism for retrieving entities and recreating instances of the Models can't find the Class. Importing them creates a registry of class to entity's.

May be the path to the handler with the query isn't importing the models.

Looking further at your code, you are also mixing db and ndb, plus you have lots of typo's, and why are you using ndb.Key.to_old_key if you are using db for model definition rather than nbd, or is that another typo.

Post a Comment for "No Implementation For Kind Exception Python Google App Engine"