Workout With Friends Stay fit with a little motivation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Properties
Public Member Functions | Static Public Attributes | List of all members
wowf.models.challenge.WeightChallenge Class Reference

Base class for all weight related challenges. More...

Inheritance diagram for wowf.models.challenge.WeightChallenge:
Collaboration diagram for wowf.models.challenge.WeightChallenge:

## Public Member Functions
def | create
def | calculate_user_weight
| How much weight this user needs to lift for this competition.
Public Member Functions inherited from wowf.models.challenge._Challenge
def | id

## Static Public Attributes
tuple | percentage = Column(Numeric(3, 2), nullable=False, doc='percentage of body weight')

## Detailed Description

Base class for all weight related challenges.

Definition at line 145 of file challenge.py.

## Member Function Documentation

def wowf.models.challenge.WeightChallenge.calculate_user_weight | ( |  | self,
|  |  | user
| ) |  |

How much weight this user needs to lift for this competition.

Definition at line 157 of file challenge.py.

def wowf.models.challenge.WeightChallenge.create | ( |  | cls,
|  |  | creator,
|  |  | percentage
| ) |  |

Definition at line 150 of file challenge.py.

## Member Data Documentation

tuple wowf.models.challenge.WeightChallenge.percentage = Column(Numeric(3, 2), nullable=False, doc='percentage of body weight')
| static

Definition at line 147 of file challenge.py.

The documentation for this class was generated from the following file:

- wowf/models/challenge.py