Skip to main content
Filter by
Sorted by
Tagged with
-5 votes
0 answers
42 views

I have a FastAPI service running on Kubernetes behind Traefik ingress (Previously had Nginx but the issue is consistent). Setup FastAPI (Uvicorn, ~8 workers) Kubernetes limits: 500m CPU / 1Gi memory ...
ArkanSaaS's user avatar
  • 279
Advice
0 votes
1 replies
80 views

So, I am building a chess app where the frontend using the Chess.js library parses a pgn file I've downloaded from Chess.com. I'm storing a moveList and a moveIndex. When the moveIndex changes, a new ...
thuang's user avatar
  • 49
0 votes
1 answer
67 views

I have a FastAPI get endpoint that, to put it shortly, gets information from a database, compiles it into an object with two fields that are lists of different objects, then returns the parent object. ...
murrag's user avatar
  • 12
Tooling
0 votes
4 replies
147 views

It's a word chain game. One person starts with a word and the other person continues with a word that ends with the last letter of the previous word. It should have simple UI similar to Wordle by NYT. ...
Renardo Pine's user avatar
Tooling
0 votes
1 replies
104 views

How do I create an authentication feature with FastAPI and React? What tools can I use for this? Is using FastAPI-Users sufficient? Or are there other similar libraries? I also found a note in the ...
irfan's user avatar
  • 1
Best practices
0 votes
1 replies
77 views

I have a FastAPI app using LangChain agents that works fine at low traffic but struggles at scale. Current setup: from fastapi import FastAPI from langchain.agents import initialize_agent, AgentType ...
Sergio G's user avatar
Advice
1 vote
2 replies
94 views

I’m working on a FastAPI backend that generates different types of content (social posts, blogs, emails). Many responses share common fields (id, metadata, generated text), but each format also has ...
harsha's user avatar
  • 1
2 votes
1 answer
99 views

from fastapi import FastAPI, File, UploadFile, HTTPException from pathlib import Path from typing import List @app.post("/uploadfile/") def create_upload_file(file: List[UploadFile] = ...
Woobin Jang's user avatar
0 votes
1 answer
88 views

I have a function, that updated database @router.put("/{task_id}/status") def update_status(task_id: str, task_data: UpdateStatus, db: Session = Depends(get_db)): task = ...
mascai's user avatar
  • 1,700
Advice
0 votes
2 replies
56 views

I have a FastAPI application with multiple endpoints (e.g., /add_to_cart, /checkout, etc.), and I also have OpenAPI documentation that defines not only the endpoints but also the logical flow between ...
Riya's user avatar
  • 1
Best practices
0 votes
0 replies
33 views

I am creating an async FastAPI service that trigger models via post requests. Each model has a different domain. It should support high throughput and low latency. What is the best way managing it? ...
Sharon Soussan's user avatar
2 votes
1 answer
111 views

I’m using Python (`smtplib` + `email.mime`) to send OTP emails from our company domain email account to users (many are on Gmail). Even though the client shows 200, on my test emails I never received ...
Hamza Khan's user avatar
3 votes
2 answers
129 views

_Item = TypeVar("_Item", BaseItem) @app.get(path="items") def get_items() -> list[_Item]: return _get_items() Pylance complains: TypeVar "_Item" appears only ...
Thanasis Mattas's user avatar
0 votes
0 answers
44 views

I'm building a FastAPI application that uses LangGraph's functional API (@entrypoint) for defining workflows. Each entrypoint requires a checkpointer, and I want to use PostgresSaver in production but ...
Джон Сноу's user avatar
2 votes
1 answer
49 views

i am learning fastapi and i structure an app like this app in FastAPI: models.py file to hold database and other python important methods routes.py file to hold the routes (URLs) schemas.py file to ...
eng.ragy's user avatar

15 30 50 per page
1
2 3 4 5
489