(feat_req)
| 89 | } |
| 90 | |
| 91 | def post_featuremaps(feat_req): |
| 92 | project = feat_req['project'] |
| 93 | ids = feat_req['ids'] |
| 94 | layers = feat_req.get('layers', None) |
| 95 | interventions = feat_req.get('interventions', None) |
| 96 | featuremaps = projects[project].get_featuremaps( |
| 97 | ids, layers, interventions) |
| 98 | return { |
| 99 | 'request': feat_req, |
| 100 | 'res': featuremaps |
| 101 | } |
| 102 | |
| 103 | @app.route('/client/<path:path>') |
| 104 | def send_static(path): |
nothing calls this directly
no test coverage detected