Private
Public Access
1
0

further tests in async tasks

This commit is contained in:
Sander Roosendaal
2021-01-15 07:18:43 +01:00
parent ef3fac5ec1
commit 8ebb55cfd7
5 changed files with 297 additions and 354 deletions

View File

@@ -69,7 +69,7 @@ from rowers import mytypes
from rowers.dataprepnodjango import (
update_strokedata, new_workout_from_file,
update_strokedata,
getsmallrowdata_db, updatecpdata_sql,update_c2id_sql,
update_workout_field_sql,
update_agegroup_db,fitnessmetric_to_sql,
@@ -771,15 +771,7 @@ def long_test_task2(self,aantal,**kwargs):
# create workout
@app.task
def handle_new_workout_from_file(r, f2,
workouttype='rower',
boattype='1x',
makeprivate=False,
notes='',debug=False):
return new_workout_from_file(r, f2, workouttype,
title, makeprivate, notes)
# process and update workouts