(project_string_id)
| 138 | methods = ['GET']) |
| 139 | @Project_permissions.user_has_project(["admin"]) |
| 140 | def annotation_project_view(project_string_id): |
| 141 | with sessionMaker.session_scope() as s: |
| 142 | project = Project.get_project(s, project_string_id) |
| 143 | |
| 144 | if project is not None: |
| 145 | |
| 146 | # TODO get cost estimate |
| 147 | # new_estimate = # something |
| 148 | |
| 149 | out = jsonify(project = project.serialize()) |
| 150 | else: |
| 151 | out = jsonify({"none_found": True}) |
| 152 | |
| 153 | return out, 200, {'ContentType': 'application/json'} |
nothing calls this directly
no test coverage detected