diff options
Diffstat (limited to 'api/database/v2')
-rw-r--r-- | api/database/v2/handlers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/database/v2/handlers.py b/api/database/v2/handlers.py index 095ad724c..7aa02a0a5 100644 --- a/api/database/v2/handlers.py +++ b/api/database/v2/handlers.py @@ -130,6 +130,9 @@ class V2ContainerHandler(object): class V2ProjectHandler(object): + def list_all(self): + return V2Project.query.all() + def insert(self, kwargs): project = V2Project(**kwargs) db_session.add(project) |