#30 black formatting

This commit is contained in:
Alok Saldanha
2020-09-08 21:11:59 -04:00
parent fc83523c84
commit 465373ca7e
2 changed files with 17 additions and 5 deletions
+9 -3
View File
@@ -169,11 +169,15 @@ class CacheEntry:
cellxgene_response = get(full_path, headers=headers)
elif request.method == "PUT":
cellxgene_response = put(
full_path, headers=headers, data=request.data,
full_path,
headers=headers,
data=request.data,
)
elif request.method == "POST":
cellxgene_response = post(
full_path, headers=headers, data=request.data,
full_path,
headers=headers,
data=request.data,
)
else:
raise CellxgeneException(
@@ -193,7 +197,9 @@ class CacheEntry:
resp_headers[h] = cellxgene_response.headers[h]
gateway_response = make_response(
gateway_content, cellxgene_response.status_code, resp_headers,
gateway_content,
cellxgene_response.status_code,
resp_headers,
)
return gateway_response