diff --git a/.gitignore b/.gitignore index c29af83..8f769db 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,52 @@ .vscode __pycache__ -test_data \ No newline at end of file +test_data + +# Python +*.py[cod] +*$py.class +*.so +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# Virtual environments +venv/ +ENV/ +env/ + +# IDE +.idea/ +*.swp +*.swo + +# Environment variables +.env +.env.local + +# Test coverage +.htmlcov/ +.coverage +.coverage.* +coverage.xml + +# Pytest +.pytest_cache/ + +# Generated files +*.png +*.csv +data/samples/*.csv \ No newline at end of file diff --git a/src/disk_checker/web/routes.py b/src/disk_checker/web/routes.py index c226f7b..313a326 100644 --- a/src/disk_checker/web/routes.py +++ b/src/disk_checker/web/routes.py @@ -5,7 +5,7 @@ import tempfile from pathlib import Path from typing import List, Optional -from fastapi import APIRouter, UploadFile, File, HTTPException, Depends +from fastapi import APIRouter, UploadFile, File, HTTPException, Depends, Request from fastapi.responses import JSONResponse, FileResponse import pandas as pd