summaryrefslogtreecommitdiffstats
path: root/api/database/v2/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/database/v2/handlers.py')
-rw-r--r--api/database/v2/handlers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/database/v2/handlers.py b/api/database/v2/handlers.py
index 44c14df61..1bc32bf0e 100644
--- a/api/database/v2/handlers.py
+++ b/api/database/v2/handlers.py
@@ -173,6 +173,9 @@ class V2ProjectHandler(object):
class V2TaskHandler(object):
+ def list_all(self):
+ return V2Task.query.all()
+
def insert(self, kwargs):
task = V2Task(**kwargs)
db_session.add(task)