hello, 

i am used large content file ( File Size : 4 kb)

i store file data in NDB Datastore

*code :*


*kindOfEntity = tableName*

*        class DynamicEntity(ndb.Expando):*
*            @classmethod*
*            def _get_kind(cls):*
*                return kindOfEntity*

*        dbObjects = DynamicEntity()*
*        dbObjData = {}*


*dbObjData ={}*

*dbObjData[key] = ndb.TextProperty(data[key])*

*dbObjects._set_attributes(dbObjData)*
*dbObjects.put()*


above code get error at dbObjData[key] = ndb.TextProperty(data[key])


*how we can assign text properies at runtime in NDB ? *

*pls help *

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to