When I use GET request to send data to the server it works fine, but when use POST request it throws "422 Unprocessable Entity" error. This is my Ajax request c
I try to make a code for image style transfer based on fastapi. I made the code by referring to many articles in Github and stack overflow, I found it effective
I'm looking for a possibility to use uvicorn.run() with a FastAPI app but without uvicorn.run() is blocking the thread. I already tried to use processes, subpro
Maybe someone here have a good idea on how to solve my issue. I have a REST API project driven by FastAPI. Every incomming request comes with a hash in the head
I tried to run FastAPI using uvicorn webserver but it throws an error. I run this command, uvicorn api:app --reload --host 0.0.0.0 but there is an error in the
I tried to run FastAPI using uvicorn webserver but it throws an error. I run this command, uvicorn api:app --reload --host 0.0.0.0 but there is an error in the
According to this tutorial you can create BackgroundTasks from the route function as follow: @app.post("/send-notification/{email}") async def send_notification
I have developed an auth on FastAPI Python using the doc here https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/ (I use exactly the code shown, nothing
I am trying to use FastAPI to allow my (dockerized) server to respond to API calls returning an image image, and a dictionary additional_dict (for a machine lea
So I have figured out how to code a fastAPI and I am ready to deploy my script to heroku that I have worked with fastAPI (https://fastapi.tiangolo.com/) however
currently I'm using websockets to pass through data that I receive from a Redis queue (pub/sub). But for some reason the websocket doesn't send messages when us
I know usually it is something about project structure that raises this error. But my project structure is the simplest one: . ├── blog.db
Is there a way for a FastAPI application to not display a model in its schema documentation? I have some models which are slight variations of others, and with
I'm using a Flask route to call the Meraky python library and trying to redirect the stdout and stderr of each API call to a websocket or eventually a log file,
I want to create MS Teams chat-bot without using MS Bot Framework. However, in the official document, there was only an example of using the MS Bot Framework. I
Why aiomysql connection pool stuck after N calls? (N is the maxsize number of connection. Tried the default N=10 and N=3) I thought the acquired connections are
If I create an endpoint like below: @app.post("/report/upload") def create_upload_files(files: UploadFile = File(...)): try: with open(files
According to FastAPI official documentation the recommended way to override the dependencies for testing is to do it globally before all tests are run: asy
I'm using code from this and that answer to send a base64 encoded image to a python FastAPI backend. The client side looks like this: function toDataURL(src, ca
Its my uvicorn log_config.yaml. All works perfect untill i add logging to file. Its says to me ValueError: not enough values to unpack (expected 5, got 0) I tr