summaryrefslogtreecommitdiff
path: root/opendc/models/task_state.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_state.py
parentc14ff547d4f6b6569bab3293ee574b03a8770ae3 (diff)
Revamp one endpoint as experiment
Diffstat (limited to 'opendc/models/task_state.py')
-rw-r--r--opendc/models/task_state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/task_state.py b/opendc/models/task_state.py
index 83cc6a62..ad78cc67 100644
--- a/opendc/models/task_state.py
+++ b/opendc/models/task_state.py
@@ -14,7 +14,7 @@ class TaskState(Model):
}
}
- TABLE_NAME = 'task_states'
+ COLLECTION_NAME = 'task_states'
COLUMNS = ['id', 'task_id', 'experiment_id', 'tick', 'flops_left', 'cores_used']
COLUMNS_PRIMARY_KEY = ['id']