I am trying to create ndb.Model class like Students and subjects
class Subject(ndb.Model): name = ndb.StringProperty() class Student(ndb.Model): na
This looks like an old question. In case someone else needs this presently, you should look at Structured Properties https://developers.google.com/appengine/docs/python/ndb/properties#structured. The example is very clear and easy to follow.
Structured Properties