(project_string_id)
| 118 | "Editor", |
| 119 | "Viewer"]) |
| 120 | def branch_list_view(project_string_id): |
| 121 | """ |
| 122 | |
| 123 | """ |
| 124 | |
| 125 | with sessionMaker.session_scope() as session: |
| 126 | project = Project.get_project(session, project_string_id) |
| 127 | |
| 128 | if project is not None: |
| 129 | |
| 130 | out = jsonify(branch_list = project.serialize_branch_list()) |
| 131 | else: |
| 132 | out = jsonify({"none_found": True}) |
| 133 | |
| 134 | return out, 200, {'ContentType': 'application/json'} |
| 135 | |
| 136 | |
| 137 | @routes.route('/api/project/<string:project_string_id>/annotation_project/checks', |
nothing calls this directly
no test coverage detected