Skip to content

[ty] Ensure TypedDict subscripts for unknown keys return Unknown - #23926

Merged
charliermarsh merged 3 commits into
mainfrom
charlie/typed-dict-key
Mar 13, 2026
Merged

[ty] Ensure TypedDict subscripts for unknown keys return Unknown#23926
charliermarsh merged 3 commits into
mainfrom
charlie/typed-dict-key

[ty] Simplify concise TypedDict invalid-key messages

d40e999
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Mar 13, 2026 in 0s

Performance Gate Passed

⚡ 1 improved benchmark
✅ 25 untouched benchmarks
⏩ 30 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime pydantic 6.1 s 5.9 s +4.69%

Comparing charlie/typed-dict-key (d40e999) with main (d583ba7)

Open in CodSpeed

Footnotes

  1. 30 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.