def get_measure(measure_id): return cache.cache_get(_get_measure_cache_key, dbget_measure, args=(measure_id,))
def get_measures_for_exercise_type(exercise_type_id): return cache_get(_get_measure_for_exercise_type_cache_key, dbget_measures_for_exercise_type, args=(exercise_type_id,))
def get_exercise_type(exercise_type_id): return cache.cache_get(_get_exercise_type_cache_key, dbget_exercise_type, args=(exercise_type_id,))
def get_all_exercise_types(): return cache_get(_get_all_exercise_types_cache_key, dbget_all_exercise_types)
def get_data_points_for_entry(entry_id): return cache.cache_get(_get_data_points_for_entry_cache_key, dbget_data_points_for_entry, args=(entry_id,))
def get_entries_for_user(uid): return translate_many(cache.cache_get(_get_entries_for_user_cache_key, dbget_entries_for_user, args=(uid,)))