I was wondering if it is possible/allowed to share an entity's between two apps, such that one app creates and stores then entity, then the second get's a key from the first one and can then access that entity? Does Second.py need to have the Ent class information in it, or does it just know everything about Ent just by having the object?
First.py:
class Ent(db.model):
def stuff():
print "I belong to first"
class out(webapp2.RequestHandler):
def get():
e = Ent()
key = e.put()
return key
Second.py:
class in(webapp2.RequestHandler):
response = urllib2.urlopen(urlOfFirstApp)
ent = #access BigTable with response/key, I'm not sure how to do this or if I can or if I'm allowed to
ent.stuff()