from fastapi import FastAPI, File, UploadFile from fastapi.responses import HTMLResponse app = FastAPI() @app.post("/files/") async def create_files(files: List[bytes] = File(...)): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_...
from fastapi import FastAPI, HTTPException, BackgroundTasks, Response import zipfile import csv import io app = FastAPI() fake_data = [ { "Id": "1", "name": "Alice", "age": "20", "height": "62", "weight": "120.6" }, { "Id": "2", "name": "Freddie",...
First check [ √ ] I used the GitHub search to find a similar issue and didn't find it. [ √ ] I searched the FastAPI documentation, with the integrated search. [ √ ] I already searched in Google "How to X in FastAPI" and didn't find any i...
Successfully merging a pull request may close this issue. fix(#9511): avoid promise catch multiple times [Snyk] Upgrade vue from 2.6.6 to 2.6.10 mariazevedo88/hash-generator-js [Snyk] Upgrade vue from 2.5.17 to 2.6.11 tghelere/valorize-vidas [Snyk] Upgrade vue from 2.5.2 to 2.6...
fastapi = ">=0.79.0,<0.80.0" loguru = ">=0.6.0,<0.7.0" pydantic = {version = ">=1.9.0,<1.10.0", extras = ["dotenv"]} pygtrie = ">=2.4.1,<3.0.0" tomlkit = ">=0.10.0,<1.0.0" typing-extensions = ">=3.10.0,<5.0.0" ...
"fastapi>=0.110.2",4 changes: 2 additions & 2 deletions 4 data-processing-lib/spark/pyproject.toml Original file line numberDiff line numberDiff line change @@ -1,6 +1,6 @@ [project] name = "data_prep_toolkit_spark" version = "0.2.1.dev0" version = "0.2.0.dev6" keywords = ...