Files
responder/tests
kennethreitz 1e97f8f5f7 Fix Annotated marker detection on Python 3.10 (Optional-wrapped); release 6.0.1
Python <=3.10's get_type_hints implicitly wraps `x: T = None` in Optional, so
`token: Annotated[str, Header(None)] = None` lost its marker behind a Union and
was never injected. _annotated_marker now unwraps Union to find the marker.
Latent since 5.3 (CI was red on 3.10; local runs were 3.13-only). Adds a
cross-version regression test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 00:07:52 -04:00
..
2018-10-13 13:59:46 +01:00
2026-06-28 10:37:14 -04:00
2026-03-25 19:48:54 -04:00