Skip to content

Cache sniffio availability instead of importing it on every call - #1132

Merged
Kludex merged 2 commits into
pydantic:mainfrom
mbeijen:fix/sniffio-hot-path-import
Aug 13, 2026
Merged

Cache sniffio availability instead of importing it on every call#1132
Kludex merged 2 commits into
pydantic:mainfrom
mbeijen:fix/sniffio-hot-path-import

Replace sniffio fallback tests with a coverage pragma

b3f847f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

Annotations

1 warning
Run benchmarks
succeeded Aug 13, 2026 in 1m 8s