Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)

src/c/h/chrisw-HEAD/home/models.py   chrisw(Download)
class UserStreamInfo(gdb.Entity):
  """docstring for UserStreamInfo"""
  user = db.ReferenceProperty(User, required=True)
 
  recent_follower_keys = db.ListFlyProperty(default=[])
class UserStream(gdb.Message):
  """docstring for UserStream"""
  author_stream_info = db.ReferenceProperty(UserStreamInfo, \
    collection_name = 'user_streams')
  author = db.ReferenceProperty(User, \
    collection_name = 'user_streams')
 
  target = db.ReferenceProperty()
class UserStreamComment(gdb.Message):
  """docstring for UserStreamComment"""
  stream = db.ReferenceProperty(UserStream)
  author = db.ReferenceProperty(User)
 

src/c/h/chrisw-HEAD/cube/models.py   chrisw(Download)
class Thing(gdb.Entity):
  """docstring for Thing"""
 
  creator = db.ReferenceProperty(User, required=True)
 

src/c/h/chrisw-HEAD/group/models.py   chrisw(Download)
class UserGroupInfo(gdb.Entity):
  """docstring for UserGroupProfile"""
  user = db.ReferenceProperty(required=True)
 
  topic_count = db.IntegerFlyProperty(default=0)
class Group(gdb.Entity):
  """docstring for Board"""
  creator = db.ReferenceProperty(User)
  title = db.StringProperty(default='')
 
class GroupTopic(gdb.Message):
  """docstring for Thread"""
  author = db.ReferenceProperty(User)
  group = db.ReferenceProperty(Group)
 
class GroupPost(gdb.Message):
  """docstring for Post"""
  author = db.ReferenceProperty(User)
  topic = db.ReferenceProperty(GroupTopic)
  content = db.TextFlyProperty(default='')