Static Public Attributes |
tuple | heart_rate = Column(SmallInteger(unsigned=True), nullable=False) |
tuple | calories_burned = Column(SmallInteger(unsigned=True), nullable=False) |
tuple | id = Column(Integer(unsigned=True), primary_key=True) |
tuple | user_id = Column(Integer(unsigned=True), ForeignKey('users.id'), nullable=False) |
tuple | challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id'), nullable=False) |
tuple | challenge_type_id |
tuple | points = Column(SmallInteger(unsigned=True), nullable=False) |
tuple | created_at = Column(DateTime, nullable=False, default=current_timestamp) |
tuple | user |
tuple | challenge |
tuple | query = DBSession.query_property() |
list | index_fields = [] |
Static Private Attributes |
string | __tablename__ = 'endurance_workouts' |
dictionary | __mapper_args__ = {'polymorphic_identity': ChallengeType.lookup_data.index('endurance') + 1} |
Detailed Description
Definition at line 99 of file workout.py.
Constructor & Destructor Documentation
def wowf.models.workout.EnduranceWorkout.__init__ |
( |
|
self, |
|
|
|
user, |
|
|
|
challenge, |
|
|
|
samples |
|
) |
| |
Member Data Documentation
dictionary wowf.models.workout.EnduranceWorkout.__mapper_args__ = {'polymorphic_identity': ChallengeType.lookup_data.index('endurance') + 1} |
|
staticprivate |
string wowf.models.workout.EnduranceWorkout.__tablename__ = 'endurance_workouts' |
|
staticprivate |
tuple wowf.models.workout.EnduranceWorkout.calories_burned = Column(SmallInteger(unsigned=True), nullable=False) |
|
static |
wowf.models.workout.EnduranceWorkout.calories_burned |
wowf.models.workout.EnduranceWorkout.challenge |
tuple wowf.models.workout.EnduranceWorkout.heart_rate = Column(SmallInteger(unsigned=True), nullable=False) |
|
static |
wowf.models.workout.EnduranceWorkout.heart_rate |
wowf.models.workout.EnduranceWorkout.points |
wowf.models.workout.EnduranceWorkout.user |
The documentation for this class was generated from the following file: