python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
FastAPI and Axios POST request misconfiguration
I have a FastAPI backend configured as such:
@app.post("/engines/completions")
async def read_completions(
# engine_id:str,
prompt: Optional[str] = None,
max_tokens: Optional[int...
trisimix
Votes: 0
Answers: 2
FastAPI - @Schema(hidden=True) not working when trying to hide the schema section on swagger docs
I'm trying to hide the entire schemas section of the FastAPI generated swagger docs. I've checked the docs and tried this but the schema section still shows.
@Schema(hidden=True)
class theSche...
Kevin E
Votes: 0
Answers: 4
Problem with uvicorn when I ran FastAPI code
I have this error when I run uvicorn for each FastAPI codes :
ModuleNotFoundError: No module named 'h11._receivebuffer'
But I installed h11 with pip.
Thanks for your help.

amir123ef
Votes: 0
Answers: 2