summaryrefslogtreecommitdiff
path: root/opendc/models/task.py
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-23 19:06:38 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-06-23 19:06:38 +0200
commit6fdb3e75dad15523d996e457c216647755b29101 (patch)
tree02590e4b4219613b6dbe70e10130bee19310290d /opendc/models/task.py
parentc14ff547d4f6b6569bab3293ee574b03a8770ae3 (diff)
Revamp one endpoint as experiment
Diffstat (limited to 'opendc/models/task.py')
-rw-r--r--opendc/models/task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/task.py b/opendc/models/task.py
index ff1dd16a..411405c2 100644
--- a/opendc/models/task.py
+++ b/opendc/models/task.py
@@ -12,7 +12,7 @@ class Task(Model):
}
}
- TABLE_NAME = 'tasks'
+ COLLECTION_NAME = 'tasks'
COLUMNS = ['id', 'start_tick', 'total_flop_count', 'job_id', 'core_count']
COLUMNS_PRIMARY_KEY = ['id']