[ty] Infer the extra_items keyword argument to class-based TypedDicts as an annotation expression by AlexWaygood · Pull Request #24362 · astral-sh/ruff (original) (raw)

@AlexWaygood added the ty

Multi-file analysis & type inference

label

Apr 2, 2026

charliermarsh

Base automatically changed from alex/functional-td-qualifiers to main

April 2, 2026 16:26

@AlexWaygood

…ts as an annotation expression

@carljm carljm removed their request for review

April 2, 2026 16:30

carljm added a commit that referenced this pull request

Apr 3, 2026

@carljm

knutwannheden added a commit to openrewrite/ty-types that referenced this pull request

Apr 20, 2026

@knutwannheden

…Concatenate

Bumps ruff submodule to pull in astral-sh/ruff main through ty 0.0.31 (openrewrite/ruff ty-types-2 tip 1f844143e8).

API shim changes:

New wire-protocol fields on ParameterInfo:

Both fields are omitted when absent, so consumers that ignore unknown fields see no change.

TypedDict.extraItems is noted as a TODO in registry.rs: ty's inference-side parsing landed in astral-sh/ruff#24362, but the public accessor on TypedDictType is still unavailable.

knutwannheden added a commit to openrewrite/ty-types that referenced this pull request

Apr 20, 2026

@knutwannheden

…Concatenate (#14)

Bumps ruff submodule to pull in astral-sh/ruff main through ty 0.0.31 (openrewrite/ruff ty-types-2 tip 1f844143e8).

API shim changes:

New wire-protocol fields on ParameterInfo:

Both fields are omitted when absent, so consumers that ignore unknown fields see no change.

TypedDict.extraItems is noted as a TODO in registry.rs: ty's inference-side parsing landed in astral-sh/ruff#24362, but the public accessor on TypedDictType is still unavailable.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})