I built a simple demo project using FastAPI. I would like to POST data to the server in real time (maybe 30fps). # in client while True: .... res = requ
I created a websocket connection with FastAPI to "stream" data which comes from a tedious calculation. The data chunks should be send as soon as they are availa
I do a Post with some parameters, but one of them returns "field required" and "value_error.missing", but the field is there and it has a value. See the output
How should the files on my server be uploaded to google cloud storage? the code I have tried is given below, however, it throws a type error, saying, the expect
SELECT * FROM order_trade join credential as buyer on buyer.user_id = order_trade.buyer_id join credential as seller on seller.user_id = order_trade.seller_id
I am quite new to FastAPI, so I have a question if it is possible to access data within the path operation function, which(data) is stored/generated outside of
im using FastApi and get some troubles with url. i have a root url @app.get("/myurl") http://host/myurl and http://host/myurl?id=2 and here function returns
I am creating a database & working on CRUD functions. I've run into a problem with the Delete functionality. I have two tables, connected in a many-to-many
I've tried to mount the frontend to / with app.mount, but this invalidates all of my /api routes. I've also tried the following code to mount the folders in /st
I am going to create an API that converts an HTML page to a PDF file. I made it using pdfkit and FastAPI. However, it saves the file to my local disk. After I s
This is continue to this question. I have added a model to get query params to pydantic model class QueryParams(BaseModel): x: str = Field(description="quer
I have a FastAPI api code that is executed using uvicorn. Now I want to add a queu system, and I think Celery and Flower can be great tools for me since my api
Currently the OpenAPI documentation looks like this: Is it possible to separate it into multiple sections? For example, 2 sections, one being the "books" secti
I'm new at learning FastAPI, and I'm getting stuck at the very beginning. I keep getting the following error: (venv) root@Xue:/home/proyectos/FastAPI# uvicorn m
I have found return numpy array as image from fastapi but I am still struggling to show my image which just appears as a white square. I read an array into io.B
I have a FastAPI application that I am running on port 30000 using Uvicorn programmatically. Now I want to run the same application on port 8443 too. The same a
I'm developing a python GraphQL API server using FastAPI and Strawberry, and I'm implementing this feature: I have two entities, User and Order, which have a on
I have a FastAPI app with pydantic settings instance reading and validation env variables: ### config.py from pydantic import BaseSettings class Settings(BaseSe
I'm trying to communicate with a fingerprint device. Actaully it sends data through websocket connection. So, I think I can communicate with the device using we
I have a simple python dockerized application whose structure is /src - server.py - test_server.py Dockerfile requirements.txt in which the docker base image