[google-appengine] How to access local class outside function ?

2013-10-16 Thread Vijay Kumbhani
*def myFunction(data):*
*class MyClass(ndb.Exapando):*
*def _get_kind(cls):*
* return data*


*above class can be used commonly in my application *
 
any idea,  how ?

-- 
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.


Re: [google-appengine] How to access local class outside function ?

2013-10-16 Thread Vinny P
On Wed, Oct 16, 2013 at 6:41 AM, Vijay Kumbhani vnkumbh...@gmail.com
 wrote:

 *def myFunction(data):*
 *class MyClass(ndb.Exapando):*
 *def _get_kind(cls):*
 * return data*


 *above class can be used commonly in my application *

 any idea,  how ?



Can you further discuss your use case? Otherwise it's difficult to help.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.