Static Public Attributes |
tuple | user_id = Column(Integer(unsigned=True), ForeignKey('users.id', ondelete='cascade'), nullable=False) |
tuple | challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id', ondelete='cascade'), nullable=False) |
tuple | user = relationship('User', lazy='joined') |
tuple | challenge = relationship('Challenge', lazy='joined') |
tuple | id = Column(Integer(unsigned=True), primary_key=True) |
tuple | notification_type_id |
tuple | created_at = Column(DateTime, nullable=False, default=current_timestamp) |
tuple | users |
tuple | query = DBSession.query_property() |
list | index_fields = [] |
Static Private Attributes |
string | __tablename__ = 'accepted_challenge_notifications' |
dictionary | __mapper_args__ = {'polymorphic_identity': NotificationType.lookup_data.index('accepted_challenge') + 1} |
Detailed Description
Definition at line 65 of file notification.py.
Member Function Documentation
def wowf.models.notification.AcceptedChallengeNotification.message |
( |
|
self | ) |
|
Member Data Documentation
dictionary wowf.models.notification.AcceptedChallengeNotification.__mapper_args__ = {'polymorphic_identity': NotificationType.lookup_data.index('accepted_challenge') + 1} |
|
staticprivate |
string wowf.models.notification.AcceptedChallengeNotification.__tablename__ = 'accepted_challenge_notifications' |
|
staticprivate |
tuple wowf.models.notification.AcceptedChallengeNotification.challenge = relationship('Challenge', lazy='joined') |
|
static |
tuple wowf.models.notification.AcceptedChallengeNotification.challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id', ondelete='cascade'), nullable=False) |
|
static |
tuple wowf.models.notification.AcceptedChallengeNotification.user = relationship('User', lazy='joined') |
|
static |
tuple wowf.models.notification.AcceptedChallengeNotification.user_id = Column(Integer(unsigned=True), ForeignKey('users.id', ondelete='cascade'), nullable=False) |
|
static |
The documentation for this class was generated from the following file: