Skip to content

Comments

[ty] Narrow keyword arguments when unpacking dictionary instances#23436

Open
ibraheemdev wants to merge 1 commit intomainfrom
ibraheem/dict-unpack-narrowing
Open

[ty] Narrow keyword arguments when unpacking dictionary instances#23436
ibraheemdev wants to merge 1 commit intomainfrom
ibraheem/dict-unpack-narrowing

Conversation

@ibraheemdev
Copy link
Member

Extends #22882 to use narrowed keys when inferring splatted dictionary expressions.

Resolves astral-sh/ty#1248.

@ibraheemdev ibraheemdev added ty Multi-file analysis & type inference ecosystem-analyzer labels Feb 20, 2026
@astral-sh-bot
Copy link

astral-sh-bot bot commented Feb 20, 2026

Typing conformance results

No changes detected ✅

@astral-sh-bot
Copy link

astral-sh-bot bot commented Feb 20, 2026

Memory usage report

Summary

Project Old New Diff Outcome
prefect 696.03MB 697.82MB +0.26% (1.79MB)
sphinx 272.07MB 272.73MB +0.24% (676.46kB)
trio 119.32MB 119.66MB +0.29% (349.64kB)
flake8 49.45MB 49.64MB +0.38% (190.30kB)

Significant changes

Click to expand detailed breakdown

prefect

Name Old New Diff Outcome
semantic_index 189.28MB 190.81MB +0.81% (1.53MB)
infer_definition_types 86.18MB 86.35MB +0.19% (171.00kB)
is_redundant_with_impl 5.64MB 5.65MB +0.23% (13.32kB)
IntersectionType 2.51MB 2.53MB +0.50% (12.89kB)
is_redundant_with_impl::interned_arguments 5.62MB 5.63MB +0.21% (11.86kB)
Type<'db>::member_lookup_with_policy_ 14.63MB 14.64MB +0.06% (9.13kB)
SynthesizedTypedDictType 0.00B 8.64kB +8.64kB (new)
Type<'db>::member_lookup_with_policy_::interned_arguments 5.35MB 5.36MB +0.14% (7.92kB)
infer_scope_types_impl 53.48MB 53.49MB +0.01% (6.28kB)
Type<'db>::apply_specialization_::interned_arguments 2.88MB 2.89MB +0.21% (6.25kB)
Type<'db>::apply_specialization_ 3.78MB 3.78MB +0.12% (4.57kB)
Type<'db>::class_member_with_policy_::interned_arguments 9.01MB 9.02MB +0.04% (4.06kB)
infer_expression_types_impl 53.87MB 53.87MB +0.01% (3.09kB)
Type<'db>::class_member_with_policy_ 16.42MB 16.43MB +0.02% (2.89kB)
Type<'db>::try_call_dunder_get_ 11.42MB 11.43MB +0.01% (616.00B)
... 12 more

sphinx

Name Old New Diff Outcome
semantic_index 69.45MB 70.05MB +0.85% (606.46kB)
infer_definition_types 24.47MB 24.51MB +0.14% (34.78kB)
is_redundant_with_impl 1.86MB 1.87MB +0.28% (5.43kB)
IntersectionType 1.03MB 1.04MB +0.46% (4.88kB)
infer_expression_types_impl 22.04MB 22.04MB +0.02% (4.75kB)
is_redundant_with_impl::interned_arguments 2.16MB 2.16MB +0.20% (4.47kB)
Type<'db>::member_lookup_with_policy_ 6.10MB 6.11MB +0.07% (4.23kB)
Type<'db>::member_lookup_with_policy_::interned_arguments 2.54MB 2.54MB +0.13% (3.45kB)
SynthesizedTypedDictType 0.00B 2.95kB +2.95kB (new)
Type<'db>::class_member_with_policy_::interned_arguments 4.00MB 4.00MB +0.04% (1.73kB)
Type<'db>::apply_specialization_::interned_arguments 1.49MB 1.49MB +0.09% (1.33kB)
Type<'db>::class_member_with_policy_ 7.55MB 7.55MB +0.01% (1.06kB)
Type<'db>::apply_specialization_ 1.75MB 1.75MB +0.05% (952.00B)
infer_expression_type_impl 3.41MB 3.41MB -0.01% (412.00B)
infer_scope_types_impl 15.82MB 15.82MB +0.00% (312.00B)
... 4 more

trio

Name Old New Diff Outcome
semantic_index 33.08MB 33.42MB +1.01% (342.70kB)
infer_definition_types 7.59MB 7.60MB +0.06% (4.57kB)
IntersectionType 256.59kB 256.98kB +0.15% (400.00B)
is_redundant_with_impl 487.48kB 487.84kB +0.07% (372.00B)
is_redundant_with_impl::interned_arguments 567.10kB 567.45kB +0.06% (352.00B)
Type<'db>::member_lookup_with_policy_ 1.69MB 1.69MB +0.01% (260.00B)
Type<'db>::apply_specialization_::interned_arguments 659.14kB 659.38kB +0.04% (240.00B)
Type<'db>::member_lookup_with_policy_::interned_arguments 868.36kB 868.56kB +0.02% (208.00B)
Type<'db>::apply_specialization_ 772.17kB 772.33kB +0.02% (168.00B)
known_class_to_class_literal 5.85kB 5.99kB +2.34% (140.00B)
SynthesizedTypedDictType 0.00B 132.00B +132.00B (new)
Type<'db>::class_member_with_policy_::interned_arguments 1.11MB 1.11MB +0.01% (104.00B)
Type<'db>::class_member_with_policy_ 1.99MB 1.99MB +0.00% (64.00B)
solutions_inner 39.04kB 38.98kB -0.15% (60.00B)
KnownClassArgument 2.24kB 2.30kB +2.44% (56.00B)

flake8

Name Old New Diff Outcome
semantic_index 15.29MB 15.47MB +1.20% (187.74kB)
is_redundant_with_impl::interned_arguments 166.20kB 166.63kB +0.26% (440.00B)
is_redundant_with_impl 158.98kB 159.39kB +0.26% (420.00B)
IntersectionType 90.02kB 90.41kB +0.43% (400.00B)
Type<'db>::member_lookup_with_policy_ 410.68kB 410.93kB +0.06% (260.00B)
infer_scope_types_impl 1012.32kB 1012.54kB +0.02% (216.00B)
Type<'db>::member_lookup_with_policy_::interned_arguments 207.59kB 207.80kB +0.10% (208.00B)
infer_definition_types 1.89MB 1.89MB +0.01% (184.00B)
known_class_to_class_literal 4.48kB 4.62kB +3.05% (140.00B)
SynthesizedTypedDictType 0.00B 132.00B +132.00B (new)
Type<'db>::class_member_with_policy_::interned_arguments 302.76kB 302.86kB +0.03% (104.00B)
Type<'db>::class_member_with_policy_ 551.55kB 551.61kB +0.01% (64.00B)
KnownClassArgument 1.70kB 1.75kB +3.23% (56.00B)

@astral-sh-bot
Copy link

astral-sh-bot bot commented Feb 20, 2026

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 20, 2026

Merging this PR will not alter performance

✅ 54 untouched benchmarks


Comparing ibraheem/dict-unpack-narrowing (1d08375) with main (333ad91)

Open in CodSpeed

@astral-sh-bot
Copy link

astral-sh-bot bot commented Feb 20, 2026

ecosystem-analyzer results

Lint rule Added Removed Changed
invalid-argument-type 6 167 11
invalid-await 40 0 0
unused-type-ignore-comment 4 0 0
invalid-return-type 1 0 0
no-matching-overload 0 1 0
Total 51 168 11

Full report with detailed diff (timing results)

@ibraheemdev ibraheemdev marked this pull request as draft February 20, 2026 02:14
@ibraheemdev ibraheemdev force-pushed the ibraheem/dict-unpack-narrowing branch 2 times, most recently from 75dbf2f to 3862660 Compare February 20, 2026 11:13
@ibraheemdev ibraheemdev force-pushed the ibraheem/dict-unpack-narrowing branch from 3862660 to 1d08375 Compare February 20, 2026 12:00
@astral-sh-bot
Copy link

astral-sh-bot bot commented Feb 20, 2026

mypy_primer results

Changes were detected when running on open source projects
attrs (https://github.com/python-attrs/attrs)
- src/attr/_funcs.py:487:44: error[invalid-argument-type] Argument to function `get_type_hints` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | None | bool`
- src/attr/_funcs.py:487:44: error[invalid-argument-type] Argument to function `get_type_hints` is incorrect: Expected `Mapping[str, Any] | None`, found `Unknown | None | bool`
- src/attr/_funcs.py:487:44: error[invalid-argument-type] Argument to function `get_type_hints` is incorrect: Expected `bool`, found `Unknown | None | bool`
- Found 640 diagnostics
+ Found 637 diagnostics

pyinstrument (https://github.com/joerick/pyinstrument)
- pyinstrument/context_manager.py:40:34: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | float`, found `Unknown | None`
- pyinstrument/context_manager.py:40:34: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Literal["enabled", "disabled", "strict"]`, found `Unknown | None`
- Found 41 diagnostics
+ Found 39 diagnostics

pip (https://github.com/pypa/pip)
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | None`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | None`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[str, str]`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
+ src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[str, str]`, found `dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/requests/cookies.py:489:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`
- src/pip/_vendor/urllib3/util/ssl_.py:182:62: error[invalid-argument-type] Argument to function `wrap_socket` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes] | None`, found `Unknown | None | VerifyMode | bool`
- src/pip/_vendor/urllib3/util/ssl_.py:182:62: error[invalid-argument-type] Argument to function `wrap_socket` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes] | None`, found `Unknown | None | VerifyMode | bool`
- src/pip/_vendor/urllib3/util/ssl_.py:182:62: error[invalid-argument-type] Argument to function `wrap_socket` is incorrect: Expected `bool`, found `Unknown | None | VerifyMode | bool`
- src/pip/_vendor/urllib3/util/ssl_.py:182:62: error[invalid-argument-type] Argument to function `wrap_socket` is incorrect: Expected `int`, found `Unknown | None | VerifyMode | bool`
- src/pip/_vendor/urllib3/util/ssl_.py:182:62: error[invalid-argument-type] Argument to function `wrap_socket` is incorrect: Expected `int`, found `Unknown | None | VerifyMode | bool`
- src/pip/_vendor/urllib3/util/ssl_.py:182:62: error[invalid-argument-type] Argument to function `wrap_socket` is incorrect: Expected `str | None`, found `Unknown | None | VerifyMode | bool`
- Found 630 diagnostics
+ Found 608 diagnostics

spack (https://github.com/spack/spack)
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/cmd/create.py:1084:29: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
- lib/spack/spack/detection/path.py:169:33: error[invalid-argument-type] Argument to function `dedupe_paths` is incorrect: Expected `list[str]`, found `Unknown | list[int | str | bytes | ... omitted 3 union elements]`
+ lib/spack/spack/detection/path.py:169:33: error[invalid-argument-type] Argument to function `dedupe_paths` is incorrect: Expected `list[str]`, found `Unknown | list[int | bytes | PathLike[str] | ... omitted 3 union elements]`
- lib/spack/spack/fetch_strategy.py:975:73: error[invalid-argument-type] Argument to function `git_clone` is incorrect: Expected `bool`, found `Unknown | None`
- lib/spack/spack/fetch_strategy.py:978:90: error[invalid-argument-type] Argument to function `git_clone` is incorrect: Expected `bool`, found `Unknown | None`
- lib/spack/spack/fetch_strategy.py:982:82: error[invalid-argument-type] Argument to function `git_checkout` is incorrect: Expected `bool`, found `Unknown | None`
- lib/spack/spack/verify_libraries.py:164:46: error[invalid-argument-type] Argument to function `candidate_matches` is incorrect: Expected `bytes`, found `Unknown | bytes | str | PathLike[str] | PathLike[bytes]`
+ lib/spack/spack/verify_libraries.py:164:46: error[invalid-argument-type] Argument to function `candidate_matches` is incorrect: Expected `bytes`, found `bytes | Unknown | str | PathLike[str] | PathLike[bytes]`
- lib/spack/spack/verify_libraries.py:165:17: error[invalid-assignment] Invalid subscript assignment with key of type `Unknown | bytes | str | PathLike[str] | PathLike[bytes]` and value of type `Unknown | bytes | str | PathLike[str] | PathLike[bytes]` on object of type `dict[bytes, bytes]`
+ lib/spack/spack/verify_libraries.py:165:17: error[invalid-assignment] Invalid subscript assignment with key of type `bytes | Unknown | str | PathLike[str] | PathLike[bytes]` and value of type `bytes | Unknown | str | PathLike[str] | PathLike[bytes]` on object of type `dict[bytes, bytes]`
- lib/spack/spack/verify_libraries.py:170:57: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[Unknown | bytes | str | PathLike[str] | PathLike[bytes]]`
+ lib/spack/spack/verify_libraries.py:170:57: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]`
- lib/spack/spack/verify_libraries.py:170:69: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[Unknown | bytes | str | PathLike[str] | PathLike[bytes]]`
+ lib/spack/spack/verify_libraries.py:170:69: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]`
- Found 4384 diagnostics
+ Found 4356 diagnostics

werkzeug (https://github.com/pallets/werkzeug)
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Mapping[str, str] | str | None`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `IO[bytes] | None`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | None`, found `Unknown | str | None | Headers`
+ src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | None`, found `str | None`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `IO[str] | None`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | None | Headers`
- src/werkzeug/test.py:409:20: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `Unknown | str | None | Headers`
- Found 388 diagnostics
+ Found 377 diagnostics

scrapy (https://github.com/scrapy/scrapy)
- tests/test_downloaderslotssettings.py:105:21: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | int`
- Found 1777 diagnostics
+ Found 1776 diagnostics

graphql-core (https://github.com/graphql-python/graphql-core)
+ tests/error/test_graphql_error.py:403:46: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ tests/test_user_registry.py:283:51: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ tests/test_user_registry.py:337:51: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- Found 639 diagnostics
+ Found 642 diagnostics

paasta (https://github.com/yelp/paasta)
- paasta_tools/tron/client.py:44:37: error[invalid-argument-type] Argument to function `get` is incorrect: Expected `str | bytes`, found `Unknown | str | dict[Unknown | str, Unknown | str]`
- paasta_tools/tron/client.py:44:37: error[invalid-argument-type] Argument to function `get` is incorrect: Expected `Mapping[str, str | bytes | None] | None`, found `Unknown | str | dict[Unknown | str, Unknown | str]`
- paasta_tools/tron/client.py:50:38: error[invalid-argument-type] Argument to function `post` is incorrect: Expected `str | bytes`, found `Unknown | str | dict[Unknown | str, Unknown | str]`
- paasta_tools/tron/client.py:50:38: error[invalid-argument-type] Argument to function `post` is incorrect: Expected `Mapping[str, str | bytes | None] | None`, found `Unknown | str | dict[Unknown | str, Unknown | str]`
- Found 1064 diagnostics
+ Found 1060 diagnostics

rich (https://github.com/Textualize/rich)
- tests/test_tools.py:17:17: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
+ tests/test_tools.py:17:17: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
- tests/test_tools.py:18:17: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
+ tests/test_tools.py:18:17: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
- tests/test_tools.py:19:17: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
+ tests/test_tools.py:19:17: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
- tests/test_tools.py:20:17: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
+ tests/test_tools.py:20:17: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`

ignite (https://github.com/pytorch/ignite)
- tests/ignite/handlers/test_state_param_scheduler.py:336:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | float`, found `Unknown | str | int | float | list[Unknown | int]`
- tests/ignite/handlers/test_state_param_scheduler.py:336:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | float`, found `Unknown | str | int | float | list[Unknown | int]`
- tests/ignite/handlers/test_state_param_scheduler.py:336:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[int]`, found `Unknown | str | int | float | list[Unknown | int]`
- tests/ignite/handlers/test_state_param_scheduler.py:336:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | int | float | list[Unknown | int]`
- tests/ignite/handlers/test_state_param_scheduler.py:336:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | int | float | list[Unknown | int]`
- Found 2136 diagnostics
+ Found 2131 diagnostics

porcupine (https://github.com/Akuli/porcupine)
- porcupine/pluginmanager.py:133:49: error[invalid-argument-type] Argument to function `__new__` is incorrect: Expected `Iterable[Never]`, found `Unknown | str`
- Found 25 diagnostics
+ Found 24 diagnostics

PyGithub (https://github.com/PyGithub/PyGithub)
- github/Requester.py:899:57: error[invalid-argument-type] Argument to bound method `__hostnameHasDomain` is incorrect: Expected `str | list[str]`, found `Unknown | list[Unknown | str] | list[None | Unknown | str]`
+ github/Requester.py:899:57: error[invalid-argument-type] Argument to bound method `__hostnameHasDomain` is incorrect: Expected `str | list[str]`, found `Unknown | list[Unknown | str] | list[str | Unknown | None]`

pydantic (https://github.com/pydantic/pydantic)
- pydantic/_internal/_core_metadata.py:87:54: error[invalid-assignment] Invalid assignment to key "pydantic_js_extra" with declared type `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | ((dict[str, int | float | str | ... omitted 3 union elements], type[Any], /) -> None)` on TypedDict `CoreMetadata`: value of type `dict[object, object]`
+ pydantic/_internal/_core_metadata.py:87:54: error[invalid-assignment] Invalid assignment to key "pydantic_js_extra" with declared type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | ((dict[str, Divergent], type[Any], /) -> None)` on TypedDict `CoreMetadata`: value of type `dict[object, object]`
- pydantic/fields.py:949:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None`
+ pydantic/fields.py:949:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
- pydantic/fields.py:989:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None`
+ pydantic/fields.py:989:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
- pydantic/fields.py:1032:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None`
+ pydantic/fields.py:1032:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
- pydantic/fields.py:1072:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None`
+ pydantic/fields.py:1072:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
- pydantic/fields.py:1115:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None`
+ pydantic/fields.py:1115:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
- pydantic/fields.py:1154:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None`
+ pydantic/fields.py:1154:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
- pydantic/fields.py:1194:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None`
+ pydantic/fields.py:1194:5: error[invalid-parameter-default] Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
- pydantic/fields.py:1573:13: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, int | float | str | ... omitted 3 union elements] | ((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) | None`, found `Top[dict[Unknown, Unknown]] | (((dict[str, int | float | str | ... omitted 3 union elements], /) -> None) & ~Top[dict[Unknown, Unknown]]) | None`
+ pydantic/fields.py:1573:13: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`, found `Top[dict[Unknown, Unknown]] | (((dict[str, Divergent], /) -> None) & ~Top[dict[Unknown, Unknown]]) | None`

poetry (https://github.com/python-poetry/poetry)
+ tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `None`
+ tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `None`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `str`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `list[str]`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py:26:7: error[invalid-argument-type] Argument to function `setup` is incorrect: Expected `Mapping[str, list[str]]`, found `Unknown | str | None | list[Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | str]]`
- Found 987 diagnostics
+ Found 980 diagnostics

Expression (https://github.com/cognitedata/Expression)
- tests/test_compose.py:21:16: error[invalid-assignment] Object of type `(Never, /) -> Never` is not assignable to `(int, /) -> int`
- Found 205 diagnostics
+ Found 204 diagnostics

freqtrade (https://github.com/freqtrade/freqtrade)
- freqtrade/rpc/telegram.py:1161:49: error[invalid-argument-type] Argument to bound method `_rpc_trade_statistics` is incorrect: Expected `str`, found `Unknown | datetime`
- freqtrade/rpc/telegram.py:1161:49: error[invalid-argument-type] Argument to bound method `_rpc_trade_statistics` is incorrect: Expected `str`, found `Unknown | datetime`
- Found 661 diagnostics
+ Found 659 diagnostics

discord.py (https://github.com/Rapptz/discord.py)
- discord/client.py:723:59: error[invalid-argument-type] Argument to bound method `from_client` is incorrect: Expected `bool`, found `Unknown | int | None`
- discord/http.py:566:53: error[invalid-argument-type] Argument to bound method `ws_connect` is incorrect: Expected `bool`, found `Unknown | BasicAuth | None | ... omitted 4 union elements`
- discord/http.py:566:53: error[invalid-argument-type] Argument to bound method `ws_connect` is incorrect: Expected `Mapping[str, str] | Mapping[istr, str] | Iterable[tuple[str, str]] | None`, found `Unknown | BasicAuth | None | ... omitted 4 union elements`
- discord/http.py:566:53: error[invalid-argument-type] Argument to bound method `ws_connect` is incorrect: Expected `str | URL | None`, found `Unknown | BasicAuth | None | ... omitted 4 union elements`
- discord/http.py:566:53: error[invalid-argument-type] Argument to bound method `ws_connect` is incorrect: Expected `BasicAuth | None`, found `Unknown | BasicAuth | None | ... omitted 4 union elements`
- discord/http.py:566:53: error[invalid-argument-type] Argument to bound method `ws_connect` is incorrect: Expected `int`, found `Unknown | BasicAuth | None | ... omitted 4 union elements`
- discord/http.py:566:53: error[invalid-argument-type] Argument to bound method `ws_connect` is incorrect: Expected `int`, found `Unknown | BasicAuth | None | ... omitted 4 union elements`
- Found 519 diagnostics
+ Found 512 diagnostics

xarray (https://github.com/pydata/xarray)
- xarray/tests/test_dataarray.py:4732:30: error[no-matching-overload] No overload of function `pad` matches arguments
- Found 1712 diagnostics
+ Found 1711 diagnostics

apprise (https://github.com/caronc/apprise)
- apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `XMPPConfig`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | float`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
+ apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]] | bool`
- apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
+ apprise/plugins/xmpp/base.py:358:35: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]] | bool`
- apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `XMPPConfig`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `int | float`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
- apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
+ apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]] | bool`
- apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | XMPPConfig | list[str] | ... omitted 4 union elements`
+ apprise/plugins/xmpp/base.py:361:40: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]] | bool`
- Found 3493 diagnostics
+ Found 3483 diagnostics

cloud-init (https://github.com/canonical/cloud-init)
- cloudinit/url_helper.py:572:40: error[invalid-argument-type] Argument to bound method `request` is incorrect: Expected `str | bytes`, found `Unknown | bool`
- cloudinit/url_helper.py:572:40: error[invalid-argument-type] Argument to bound method `request` is incorrect: Expected `str | bytes`, found `Unknown | bool`
- cloudinit/url_helper.py:572:40: error[invalid-argument-type] Argument to bound method `request` is incorrect: Expected `Mapping[str, str | bytes | None] | None`, found `Unknown | bool`
- tests/unittests/distros/test_user_data_normalize.py:24:31: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
+ tests/unittests/distros/test_user_data_normalize.py:24:31: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | bool | list[Unknown] | ... omitted 3 union elements`
- tests/unittests/net/test_init.py:853:57: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | bool]]`
- tests/unittests/net/test_init.py:896:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | bool]]`
- tests/unittests/net/test_init.py:975:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | bool]]`
- tests/unittests/net/test_init.py:992:53: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | bool]]`
- tests/unittests/net/test_init.py:1105:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | bool]]`
- tests/unittests/net/test_init.py:1219:49: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | str | list[Unknown | tuple[str, str]] | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | bool]]`
- tests/unittests/sources/test_gce.py:71:31: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
+ tests/unittests/sources/test_gce.py:71:31: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | bool | list[Unknown] | ... omitted 3 union elements`
- Found 1151 diagnostics
+ Found 1142 diagnostics

setuptools (https://github.com/pypa/setuptools)
- setuptools/tests/config/test_expand.py:206:37: error[invalid-argument-type] Argument to function `find_packages` is incorrect: Expected `str | PathLike[str] | None`, found `Unknown | dict[Unknown, Unknown]`
- setuptools/tests/config/test_expand.py:243:46: error[invalid-argument-type] Argument to function `find_packages` is incorrect: Expected `dict[str, str] | None`, found `Unknown | dict[Unknown, Unknown] | bool`
- setuptools/tests/config/test_expand.py:243:46: error[invalid-argument-type] Argument to function `find_packages` is incorrect: Expected `str | PathLike[str] | None`, found `Unknown | dict[Unknown, Unknown] | bool`
- Found 1119 diagnostics
+ Found 1116 diagnostics

prefect (https://github.com/PrefectHQ/prefect)
- src/integrations/prefect-dbt/tests/core/test_orchestrator_cache.py:543:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `Unknown | MagicMock | Path | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_cache.py:543:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Path | None`, found `Unknown | MagicMock | Path | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_cache.py:543:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `DbtExecutor | None`, found `Unknown | MagicMock | Path | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_cache.py:543:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `Unknown | MagicMock | Path | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_cache.py:543:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `type | None`, found `Unknown | MagicMock | Path | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_cache.py:543:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | MagicMock | Path | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_integration.py:447:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `Unknown | PrefectDbtSettings | ExecutionMode | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_integration.py:447:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Path | None`, found `Unknown | PrefectDbtSettings | ExecutionMode | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_integration.py:447:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `Unknown | PrefectDbtSettings | ExecutionMode | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_integration.py:447:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str | int | None`, found `Unknown | PrefectDbtSettings | ExecutionMode | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_integration.py:447:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `type | None`, found `Unknown | PrefectDbtSettings | ExecutionMode | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_integration.py:447:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | PrefectDbtSettings | ExecutionMode | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_integration.py:447:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `TestStrategy`, found `Unknown | PrefectDbtSettings | ExecutionMode | ... omitted 4 union elements`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_per_node.py:119:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_per_node.py:119:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Path | None`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_per_node.py:119:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `DbtExecutor | None`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_per_node.py:119:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_per_node.py:119:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `type | None`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:107:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:107:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Path | None`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:107:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `DbtExecutor | None`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:107:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:107:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `type | None`, found `Unknown | MagicMock | Path | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:127:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `Unknown | MagicMock | Path | ExecutionMode`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:127:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Path | None`, found `Unknown | MagicMock | Path | ExecutionMode`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:127:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `DbtExecutor | None`, found `Unknown | MagicMock | Path | ExecutionMode`
- src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py:127:39: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `Unknown | MagicMock | Path | ExecutionMode`
- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `str`, found `str | bool | dict[Unknown | str, Unknown | int] | None`
- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `str | list[str] | None`, found `str | bool | dict[Unknown | str, Unknown | int] | None`
- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool | dict[Unknown | str, Unknown | int] | None`
- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `bool | None`, found `str | bool | dict[Unknown | str, Unknown | int] | None`
- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `str | list[str] | None`, found `str | bool | dict[Unknown | str, Unknown | int] | None`
- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, str] | list[str] | None`, found `str | bool | dict[Unknown | str, Unknown | int] | None`
- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str | bool | dict[Unknown | str, Unknown | int] | None`
- src/integrations/prefect-docker/tests/test_containers.py:42:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`
+ src/integrations/prefect-docker/tests/test_containers.py:26:31: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-docker/tests/test_containers.py:55:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`
- src/integrations/prefect-docker/tests/test_containers.py:68:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`
- src/integrations/prefect-docker/tests/test_containers.py:81:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`
+ src/integrations/prefect-docker/tests/test_containers.py:41:26: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-docker/tests/test_containers.py:54:31: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-docker/tests/test_containers.py:67:31: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-docker/tests/test_containers.py:80:31: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `str`, found `str | bool`
+ src/integrations/prefect-docker/tests/test_images.py:16:23: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `DockerHost | None`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `DockerRegistryCredentials | None`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:29:47: error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `str`
+ src/integrations/prefect-docker/tests/test_images.py:28:27: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-docker/tests/test_images.py:29:47: error[invalid-argument-type] Argument is incorrect: Expected `DockerRegistryCredentials | None`, found `str`
- src/integrations/prefect-docker/tests/test_images.py:29:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`
- src/integrations/prefect-docker/tests/test_images.py:31:16: error[unresolved-attribute] Attribute `id` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
- src/integrations/prefect-docker/tests/test_images.py:51:17: error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `str`
+ src/integrations/prefect-docker/tests/test_images.py:48:27: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-docker/tests/test_images.py:51:17: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`
- src/integrations/prefect-docker/tests/test_images.py:53:16: error[unresolved-attribute] Attribute `id` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `str`, found `str | bool`
+ src/integrations/prefect-docker/tests/test_images.py:63:28: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `DockerRegistryCredentials | None`, found `str | bool`
- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str | bool`
- src/integrations/prefect-github/tests/test_graphql.py:28:66: error[invalid-argument-type] Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `Unknown | list[Unknown] | dict[Unknown, Unknown]`
- src/integrations/prefect-kubernetes/prefect_kubernetes/jobs.py:428:17: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`
+ src/integrations/prefect-kubernetes/prefect_kubernetes/jobs.py:425:33: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:20:13: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `None`
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:29:13: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `None`
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:38:13: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `None`
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:57:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:103:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:16:15: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:149:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:195:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:240:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:24:15: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:33:15: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:286:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:46:11: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:98:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:344:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:144:11: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:190:11: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:236:11: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:274:11: error[invalid-await] `object` is not awaitable
+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:332:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_deployments.py:18:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_deployments.py:16:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_deployments.py:38:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_deployments.py:34:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_deployments.py:70:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_deployments.py:68:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_deployments.py:92:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_deployments.py:88:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_deployments.py:113:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_deployments.py:110:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_deployments.py:141:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_deployments.py:137:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_jobs.py:36:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_jobs.py:34:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_jobs.py:52:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_jobs.py:50:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_jobs.py:68:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_jobs.py:66:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_jobs.py:87:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_jobs.py:84:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_jobs.py:107:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_jobs.py:104:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_jobs.py:131:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_jobs.py:127:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_jobs.py:159:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_jobs.py:156:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_pods.py:29:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_pods.py:27:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_pods.py:46:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_pods.py:42:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_pods.py:78:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_pods.py:76:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_pods.py:96:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_pods.py:92:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_pods.py:115:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_pods.py:112:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_pods.py:137:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`
+ src/integrations/prefect-kubernetes/tests/test_pods.py:133:11: error[invalid-await] `object` is not awaitable
- src/integrations/prefect-kubernetes/tests/test_pods.py:167:9: error[

... (truncated 612 lines) ...

@ibraheemdev ibraheemdev marked this pull request as ready for review February 20, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecosystem-analyzer ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

better gradual guarantee for un-annotated dict (and other container?) literals

1 participant