MarkusSintonen
MarkusSintonen
### Checks * [x] I added a descriptive title to this issue * [x] I have searched (google, github) for similar issues and couldn't find anything * [x] I have...
### Initial Checks - [X] I confirm that I'm using Pydantic V2 ### Description Our FastAPI application startup performance degraded from about 5s to over 20s after using V2. This...
Fixes https://github.com/tiangolo/fastapi/issues/11134 Adds support for Pydantic root model in query/path parameters. Supports PydaticV2 `RootModel[X]` and PydanticV1 `BaseModel.__root__`. This is a non breaking change as previously root models usage threw errors...
There seems to be some performance issues in `httpx` (0.27.0) as it has much worse performance than `aiohttp` (3.9.4) with concurrently running requests (in python 3.12). The following benchmark shows...
# Summary Adds back native `asyncio` backend based on commit where it was removed [here](https://github.com/encode/httpcore/blob/85a1f9ecab09e65d4299b5e2676964c43ac2c02d/httpcore/_backends/asyncio.py). Adjusts it to work with the new interfaces. This also adds some additional integration testing....
# Summary (Split from original PR here https://github.com/encode/httpcore/pull/924 but this is more refined) Connection pool implementation is heavily doing socket polling via `AsyncConnectionInterface.has_expired()`. This check in turn does `AsyncNetworkStream.get_extra_info("is_readable")` which...
# Summary This is a small low hanging fruit for optimizing and simplifying the connection maintenance loops in the connection pool. This work is based on suggestion by @T-256 [here](https://github.com/encode/httpcore/pull/924#discussion_r1636465142)...
# Summary First PR in series of optimizations to improve performance of `httpcore` and even reach performance levels of `aiohttp`. Related discussion https://github.com/encode/httpx/issues/3215#issuecomment-2157885121 **Previously:**  **With PR:**  Request latency...
It seems pytest-asyncio (`0.23.7`) is currently badly broken with code relying on `aiohttp`. This simple example currently breaks. The example is heavily simplified from the actual fixture setup. This used...
## Change Summary PR removes expensive core schema walking via `_WalkCoreSchema` which is replaced by `pydantic-core` schema traversal. The traversal is a one pass operation when the necessary information is...