Skip to content

Commit

Permalink
fix: format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPathtech committed Jul 25, 2023
1 parent b189f42 commit ecb8b43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ def stats(stats_model: StatsModel) -> list[dict[str, Any]]:

@app.get("/report")
async def get_report(url: str, language: str, exposureLayerId: str) -> FileResponse:
tmp_file_path: str = await playwright_download_report(url, exposureLayerId, language)
tmp_file_path: str = await playwright_download_report(
url, exposureLayerId, language
)
return FileResponse(path=tmp_file_path, filename=os.path.basename(tmp_file_path))


Expand Down

0 comments on commit ecb8b43

Please sign in to comment.