Summary

Comparing branches/commits:
Old: main (merge base) 42adfd40
New: 21267/merge a04c8309
Lint Rule Removed Added Changed
Total 0 0 248
invalid-argument-type 0 0 211
invalid-assignment 0 0 37

Expression (https://github.com/cognitedata/Expression)

tests/test_result.py

[error] invalid-argument-type - :491:21 -
Old: Argument to bound method `or_else` is incorrect: Expected `Result[Literal[42], Any]`, found `Result[Literal[0], Any]`
New: Argument to bound method `or_else` is incorrect: Expected `Result[Literal[42], Any]`, found `Result[Literal[0, 42], Any]`
[error] invalid-argument-type - :509:21 -
Old: Argument to bound method `or_else` is incorrect: Expected `Result[Any, Literal["original error"]]`, found `Result[Any, Literal["new error"]]`
New: Argument to bound method `or_else` is incorrect: Expected `Result[Any, Literal["original error"]]`, found `Result[Any, Literal["new error", "original error"]]`

alerta (https://github.com/alerta/alerta)

alerta/auth/basic.py

[error] invalid-argument-type - :31:48 -
Old: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[str | None]`
[error] invalid-argument-type - :85:48 -
Old: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[str | None]`

alerta/auth/decorators.py

[error] invalid-argument-type - :142:60 -
Old: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[str | None]`
[error] invalid-argument-type - :147:57 -
Old: Argument to function `get_customers` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to function `get_customers` is incorrect: Expected `list[str]`, found `list[str | None]`

alerta/auth/github.py

[error] invalid-argument-type - :85:115 -
Old: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[str | None]`

alerta/auth/oidc.py

[error] invalid-argument-type - :192:95 -
Old: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[str | None]`

alerta/auth/saml.py

[error] invalid-argument-type - :100:98 -
Old: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[str | None]`

alerta/views/users.py

[error] invalid-argument-type - :33:48 -
Old: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to function `not_authorized` is incorrect: Expected `list[str]`, found `list[str | None]`

tests/test_scopes.py

[error] invalid-argument-type - :81:71 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :82:71 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :83:71 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :85:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :86:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :87:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :89:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :90:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :92:59 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :93:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :94:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :95:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :96:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :97:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :99:62 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :100:62 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`
[error] invalid-argument-type - :101:72 -
Old: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[Unknown | str]`
New: Argument to bound method `is_in_scope` is incorrect: Expected `list[Scope]`, found `list[str | Unknown]`

apprise (https://github.com/caronc/apprise)

tests/test_apprise_config.py

[error] invalid-argument-type - :419:27 -
Old: Argument to bound method `servers` is incorrect: Expected `str | list[str]`, found `list[Unknown | tuple[str, str]]`
New: Argument to bound method `servers` is incorrect: Expected `str | list[str]`, found `list[str | tuple[str, str]]`

tests/test_attach_http.py

[error] invalid-assignment - :147:9 -
Old: Object of type `dict[Unknown | str, Unknown | int | str]` is not assignable to `dict[str, str]`
New: Object of type `dict[str, str | int]` is not assignable to `dict[str, str]`

arviz (https://github.com/arviz-devs/arviz)

arviz/tests/base_tests/test_data.py

[error] invalid-argument-type - :1174:23 -
Old: Argument to bound method `__init__` is incorrect: Expected `Dataset | list[Dataset] | tuple[Dataset, Dataset]`, found `list[Unknown | int]`
New: Argument to bound method `__init__` is incorrect: Expected `Dataset | list[Dataset] | tuple[Dataset, Dataset]`, found `list[Dataset | int]`

core (https://github.com/home-assistant/core)

homeassistant/components/home_connect/switch.py

[error] invalid-argument-type - :286:17 -
Old: Argument to bound method `__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[Unknown | str, Unknown | str | UndefinedType]`
New: Argument to bound method `__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[Unknown | str, Unknown | str | UndefinedType] & dict[str, str | UndefinedType]`

homeassistant/components/zeroconf/discovery.py

[error] invalid-argument-type - :487:13 -
Old: Argument to function `async_create_issue` is incorrect: Expected `dict[str, str] | None`, found `dict[Unknown | str, Unknown | None | str]`
New: Argument to function `async_create_issue` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | Unknown | None]`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

ddtrace/appsec/_handlers.py

[error] invalid-argument-type - :404:13 -
Old: Argument to bound method `add_configurations` is incorrect: Expected `list[tuple[str, str, str]]`, found `list[Unknown | tuple[str, int, Unknown]]`
New: Argument to bound method `add_configurations` is incorrect: Expected `list[tuple[str, str, str]]`, found `list[Unknown | tuple[str, int, Unknown]] & list[tuple[str, str, str] | tuple[str, int, Unknown]]`

ddtrace/contrib/internal/logging/patch.py

[error] invalid-argument-type - :73:9 -
Old: Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | Literal["0"]`
New: Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | Literal["0"] | int`
[error] invalid-argument-type - :74:9 -
Old: Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | Literal["0"]`
New: Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | Literal["0"] | int`

ddtrace/internal/telemetry/writer.py

[error] invalid-argument-type - :151:47 -
Old: Argument to bound method `__init__` is incorrect: Expected `int | float`, found `Unknown | EnvVariable[float] | Literal[10]`
New: Argument to bound method `__init__` is incorrect: Expected `int | float`, found `Unknown | EnvVariable[float] | int | float`

ddtrace/settings/dynamic_instrumentation.py

[error] invalid-argument-type - :95:9 -
Old: Argument to bound method `v` is incorrect: Expected `list[tuple[str, str, str]] | None`, found `list[Unknown | tuple[str, None, str]]`
New: Argument to bound method `v` is incorrect: Expected `list[tuple[str, str, str]] | None`, found `list[tuple[str, str, str] | tuple[str, None, str]]`

ddtrace/settings/exception_replay.py

[error] invalid-argument-type - :13:9 -
Old: Argument to bound method `v` is incorrect: Expected `list[tuple[str, str, str]] | None`, found `list[Unknown | tuple[str, None, str]]`
New: Argument to bound method `v` is incorrect: Expected `list[tuple[str, str, str]] | None`, found `list[tuple[str, str, str] | tuple[str, None, str]]`

dragonchain (https://github.com/dragonchain/dragonchain)

dragonchain/transaction_processor/level_1_actions_utest.py

[error] invalid-argument-type - :132:38 -
Old: Argument to function `create_block` is incorrect: Expected `list[TransactionModel]`, found `list[Unknown | dict[Unknown | str, Unknown | str]]`
New: Argument to function `create_block` is incorrect: Expected `list[TransactionModel]`, found `list[TransactionModel | dict[Unknown | str, Unknown | str]]`

freqtrade (https://github.com/freqtrade/freqtrade)

freqtrade/optimize/analysis/lookahead.py

[error] invalid-argument-type - :48:13 -
Old: Argument to bound method `backtest` is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame`
New: Argument to bound method `backtest` is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame | dict[Unknown, Unknown]`

graphql-core (https://github.com/graphql-python/graphql-core)

tests/type/test_definition.py

[error] invalid-argument-type - :163:72 -
Old: Argument to function `parse_literal` is incorrect: Expected `ValueNode`, found `dict[Unknown | str, Unknown | str]`
New: Argument to function `parse_literal` is incorrect: Expected `ValueNode`, found `dict[Unknown | str, Unknown | str] & dict[str, Any]`

ibis (https://github.com/ibis-project/ibis)

ibis/backends/bigquery/tests/unit/test_compiler.py

[error] invalid-argument-type - :273:26 -
Old: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, Literal["string"]]`
New: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, Literal["string"] | Unknown]`

ignite (https://github.com/pytorch/ignite)

tests/ignite/handlers/test_base_logger.py

[error] invalid-assignment - :265:5 -
Old: Object of type `list[CallableEventWithFilter | Literal["unknown"]]` is not assignable to attribute `_events` of type `list[CallableEventWithFilter]`
New: Object of type `list[CallableEventWithFilter | str]` is not assignable to attribute `_events` of type `list[CallableEventWithFilter]`

tests/ignite/handlers/test_param_scheduler.py

[error] invalid-argument-type - :349:25 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[ParamScheduler]`, found `list[Unknown | LinearCyclicalScheduler | int]`
New: Argument to bound method `__init__` is incorrect: Expected `list[ParamScheduler]`, found `list[ParamScheduler | int]`
[error] invalid-argument-type - :355:77 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[int]`, found `list[Unknown | int | float]`
New: Argument to bound method `__init__` is incorrect: Expected `list[int]`, found `list[int | float]`
[error] invalid-argument-type - :367:84 -
Old: Argument to bound method `simulate_values` is incorrect: Expected `list[str] | tuple[str] | None`, found `list[Unknown | int]`
New: Argument to bound method `simulate_values` is incorrect: Expected `list[str] | tuple[str] | None`, found `list[str | int]`
[error] invalid-argument-type - :768:42 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[Unknown | tuple[float]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[tuple[int, int | float] | tuple[float]]`
[error] invalid-argument-type - :771:42 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[Unknown | tuple[int, float] | tuple[float]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[tuple[int, int | float] | tuple[float]]`
[error] invalid-argument-type - :777:42 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[Unknown | tuple[float, int]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[tuple[int, int | float] | tuple[float, int]]`
[error] invalid-argument-type - :1171:29 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[ParamScheduler]`, found `list[Unknown | int]`
New: Argument to bound method `__init__` is incorrect: Expected `list[ParamScheduler]`, found `list[ParamScheduler | int]`
[error] invalid-argument-type - :1174:29 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[ParamScheduler]`, found `list[Unknown | LinearCyclicalScheduler | str]`
New: Argument to bound method `__init__` is incorrect: Expected `list[ParamScheduler]`, found `list[ParamScheduler | str]`
[error] invalid-argument-type - :1180:72 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[str] | None`, found `list[Unknown | int]`
New: Argument to bound method `__init__` is incorrect: Expected `list[str] | None`, found `list[str | int]`

tests/ignite/handlers/test_state_param_scheduler.py

[error] invalid-argument-type - :151:76 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[Unknown | tuple[float]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[tuple[int, int | float] | tuple[float]]`
[error] invalid-argument-type - :154:76 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[Unknown | tuple[int, float] | tuple[float]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[tuple[int, int | float] | tuple[float]]`
[error] invalid-argument-type - :160:76 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[Unknown | tuple[float, int]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[tuple[int, int | float]]`, found `list[tuple[int, int | float] | tuple[float, int]]`

meson (https://github.com/mesonbuild/meson)

mesonbuild/backend/ninjabackend.py

[error] invalid-argument-type - :2129:67 -
Old: Argument to bound method `get_link_whole_for` is incorrect: Expected `list[str]`, found `list[Unknown | str | None]`
New: Argument to bound method `get_link_whole_for` is incorrect: Expected `list[str]`, found `list[Unknown | str | None] & list[str | None]`

mesonbuild/backend/vs2010backend.py

[error] invalid-argument-type - :1981:35 -
Old: Argument to bound method `add_custom_build` is incorrect: Expected `list[str] | None`, found `list[Unknown | None]`
New: Argument to bound method `add_custom_build` is incorrect: Expected `list[str] | None`, found `list[str | None]`

mesonbuild/interpreter/interpreter.py

[error] invalid-argument-type - :2795:56 -
Old: Argument to bound method `build_incdir_object` is incorrect: Expected `list[str]`, found `list[Unknown | bytes]`
New: Argument to bound method `build_incdir_object` is incorrect: Expected `list[str]`, found `list[str | bytes]`

mesonbuild/mintro.py

[error] invalid-assignment - :452:5 -
Old: Object of type `dict[Unknown | str, Unknown | str | None | list[str] | list[Unknown | str]]` is not assignable to `dict[str, str | list[str] | list[dict[str, str]]]`
New: Object of type `dict[str, str | list[str] | list[dict[str, str]] | None]` is not assignable to `dict[str, str | list[str] | list[dict[str, str]]]`
[error] invalid-assignment - :461:9 -
Old: Object of type `dict[Unknown | str, Unknown | str | None]` is not assignable to `dict[str, str]`
New: Object of type `dict[str, str | None]` is not assignable to `dict[str, str]`

mesonbuild/modules/_qt.py

[error] invalid-argument-type - :740:17 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[str | Literal[False]] | None`, found `list[Unknown | str | None]`
New: Argument to bound method `__init__` is incorrect: Expected `list[str | Literal[False]] | None`, found `list[str | Literal[False] | None]`

mesonbuild/modules/fs.py

[error] invalid-argument-type - :313:13 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[str | Literal[False]] | None`, found `list[Unknown | str | None]`
New: Argument to bound method `__init__` is incorrect: Expected `list[str | Literal[False]] | None`, found `list[str | Literal[False] | None]`

packaging/createmsi.py

[error] invalid-argument-type - :194:44 -
Old: Argument to function `SubElement` is incorrect: Expected `dict[str, str]`, found `dict[Unknown | str, Unknown | str | None]`
New: Argument to function `SubElement` is incorrect: Expected `dict[str, str]`, found `dict[str, str | Unknown | None]`

unittests/internaltests.py

[error] invalid-argument-type - :702:50 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[str] | None`, found `list[Unknown | list[Unknown | str] | str]`
New: Argument to bound method `__init__` is incorrect: Expected `list[str] | None`, found `list[str | list[Unknown | str]]`

unittests/optiontests.py

[error] invalid-argument-type - :322:45 -
Old: Argument to bound method `set_from_configure_command` is incorrect: Expected `dict[OptionKey, str | None]`, found `dict[Unknown | OptionKey, Unknown | bool]`
New: Argument to bound method `set_from_configure_command` is incorrect: Expected `dict[OptionKey, str | None]`, found `dict[OptionKey, str | None | bool]`

mitmproxy (https://github.com/mitmproxy/mitmproxy)

mitmproxy/addons/dumper.py

[error] invalid-assignment - :38:1 -
Old: Object of type `dict[Unknown | str, Unknown | dict[str, str] | dict[str, bool]]` is not assignable to `dict[str, dict[str, str | bool]]`
New: Object of type `dict[str, dict[str, str | bool] | dict[str, str] | dict[str, bool]]` is not assignable to `dict[str, dict[str, str | bool]]`

test/mitmproxy/addons/test_next_layer.py

[error] invalid-argument-type - :492:13 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[Unknown | <class 'HttpProxy'> | <class 'ClientTLSLayer'> | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
[error] invalid-argument-type - :524:13 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[Unknown | <class 'HttpProxy'> | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
[error] invalid-argument-type - :536:13 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[Unknown | <class 'HttpProxy'> | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
[error] invalid-argument-type - :554:13 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[Unknown | <class 'HttpProxy'> | partial[Unknown] | <class 'ServerTLSLayer'> | <class 'ClientTLSLayer'>]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
[error] invalid-argument-type - :575:13 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[Unknown | <class 'HttpProxy'> | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`

test/mitmproxy/addons/test_tlsconfig.py

[error] invalid-assignment - :476:13 -
Old: Object of type `list[Layer | Literal[123]]` is not assignable to attribute `layers` of type `list[Layer]`
New: Object of type `list[Layer | int]` is not assignable to attribute `layers` of type `list[Layer]`

test/mitmproxy/proxy/layers/http/test_http.py

[error] invalid-argument-type - :84:33 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :92:35 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :98:32 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :150:33 -
Old: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Connection | _Placeholder[Connection]`
[error] invalid-argument-type - :154:34 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :198:33 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :212:33 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :272:33 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :314:33 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :318:35 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :322:32 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :846:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :965:32 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :1029:37 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :1296:32 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :1454:41 -
Old: Argument is incorrect: Expected `TCPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TCPFlow`, found `(Unknown & TCPFlow) | (_Placeholder[Unknown] & TCPFlow) | (Unknown & _Placeholder[TCPFlow]) | (_Placeholder[Unknown] & _Placeholder[TCPFlow])`
[error] invalid-argument-type - :1641:27 -
Old: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Connection | _Placeholder[Connection]`
[error] invalid-argument-type - :1749:33 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :1753:35 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :1794:33 -
Old: Argument is incorrect: Expected `HTTPFlow`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `HTTPFlow`, found `(Unknown & HTTPFlow) | (_Placeholder[Unknown] & HTTPFlow) | (Unknown & _Placeholder[HTTPFlow]) | (_Placeholder[Unknown] & _Placeholder[HTTPFlow])`
[error] invalid-argument-type - :1796:27 -
Old: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Connection | _Placeholder[Connection]`
[error] invalid-argument-type - :1838:27 -
Old: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Connection | _Placeholder[Connection]`

test/mitmproxy/proxy/layers/http/test_http1.py

[error] invalid-argument-type - :59:28 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
[error] invalid-argument-type - :81:28 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
[error] invalid-argument-type - :104:28 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
[error] invalid-argument-type - :110:28 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
[error] invalid-argument-type - :231:38 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`

test/mitmproxy/proxy/layers/http/test_http2.py

[error] invalid-argument-type - :79:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :170:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :953:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :960:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :1070:30 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :1085:33 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
[error] invalid-argument-type - :1119:30 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :1286:29 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :1288:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`

test/mitmproxy/proxy/layers/http/test_http3.py

[error] invalid-argument-type - :1086:33 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`

test/mitmproxy/proxy/layers/http/test_http_fuzz.py

[error] invalid-argument-type - :343:29 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :451:38 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`

test/mitmproxy/proxy/layers/quic/test__raw_layers.py

[error] invalid-argument-type - :105:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :136:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :157:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :165:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :217:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :239:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :255:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`

test/mitmproxy/proxy/layers/quic/test__stream_layers.py

[error] invalid-argument-type - :480:32 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :555:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :610:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :615:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :714:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :716:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :778:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :786:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :800:45 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :804:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :851:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :886:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :888:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :946:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :948:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :987:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :997:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :1008:40 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :1022:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :1030:36 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :1042:47 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :1064:40 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :1078:40 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :1102:40 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`

test/mitmproxy/proxy/layers/test_modes.py

[error] invalid-argument-type - :96:26 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :100:31 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :109:26 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :111:31 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :125:26 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :157:26 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :185:26 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :212:30 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :214:41 -
Old: Argument is incorrect: Expected `QuicTlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `QuicTlsData`, found `(Unknown & QuicTlsData) | (_Placeholder[Unknown] & QuicTlsData) | (Unknown & _Placeholder[QuicTlsData]) | (_Placeholder[Unknown] & _Placeholder[QuicTlsData])`
[error] invalid-argument-type - :233:26 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :274:30 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :293:30 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :299:34 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :308:35 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :330:30 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :427:38 -
Old: Argument is incorrect: Expected `Socks5AuthData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `Socks5AuthData`, found `(Unknown & Socks5AuthData) | (_Placeholder[Unknown] & Socks5AuthData) | (Unknown & _Placeholder[Socks5AuthData]) | (_Placeholder[Unknown] & _Placeholder[Socks5AuthData])`
[error] invalid-argument-type - :508:33 -
Old: Argument is incorrect: Expected `Socks5AuthData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `Socks5AuthData`, found `(Unknown & Socks5AuthData) | (_Placeholder[Unknown] & Socks5AuthData) | (Unknown & _Placeholder[Socks5AuthData]) | (_Placeholder[Unknown] & _Placeholder[Socks5AuthData])`
[error] invalid-argument-type - :561:42 -
Old: Argument is incorrect: Expected `Socks5AuthData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `Socks5AuthData`, found `(Unknown & Socks5AuthData) | (_Placeholder[Unknown] & Socks5AuthData) | (Unknown & _Placeholder[Socks5AuthData]) | (_Placeholder[Unknown] & _Placeholder[Socks5AuthData])`

test/mitmproxy/proxy/layers/test_tls.py

[error] invalid-argument-type - :301:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :324:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :353:36 -
Old: Argument is incorrect: Expected `NextLayer`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `NextLayer`, found `(Unknown & NextLayer) | (_Placeholder[Unknown] & NextLayer) | (Unknown & _Placeholder[NextLayer]) | (_Placeholder[Unknown] & _Placeholder[NextLayer])`
[error] invalid-argument-type - :357:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :405:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :433:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :471:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :548:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :550:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :591:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :599:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :613:45 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :616:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :659:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :718:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :720:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :761:44 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :768:43 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :778:44 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`
[error] invalid-argument-type - :795:47 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
[error] invalid-argument-type - :819:39 -
Old: Argument is incorrect: Expected `ClientHelloData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `ClientHelloData`, found `(Unknown & ClientHelloData) | (_Placeholder[Unknown] & ClientHelloData) | (Unknown & _Placeholder[ClientHelloData]) | (_Placeholder[Unknown] & _Placeholder[ClientHelloData])`
[error] invalid-argument-type - :821:39 -
Old: Argument is incorrect: Expected `TlsData`, found `Unknown | _Placeholder[Unknown]`
New: Argument is incorrect: Expected `TlsData`, found `(Unknown & TlsData) | (_Placeholder[Unknown] & TlsData) | (Unknown & _Placeholder[TlsData]) | (_Placeholder[Unknown] & _Placeholder[TlsData])`

paasta (https://github.com/yelp/paasta)

paasta_tools/utils.py

[error] invalid-assignment - :595:9 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | str]]` is not assignable to `list[DockerParameter]`
New: Object of type `list[DockerParameter | dict[Unknown | str, Unknown | str]]` is not assignable to `list[DockerParameter]`

pandas (https://github.com/pandas-dev/pandas)

pandas/tests/indexes/multi/test_util.py

[error] invalid-argument-type - :15:46 -
Old: Argument to function `cartesian_product` is incorrect: Expected `list[ndarray[@Todo, Unknown]]`, found `list[Unknown | list[Unknown] | list[Unknown | int]]`
New: Argument to function `cartesian_product` is incorrect: Expected `list[ndarray[@Todo, Unknown]]`, found `list[ndarray[@Todo, Unknown] | list[Unknown] | list[Unknown | int]]`

pandas/tests/indexes/test_base.py

[error] invalid-argument-type - :1308:29 -
Old: Argument to bound method `sortlevel` is incorrect: Expected `bool | list[bool]`, found `list[Unknown | str]`
New: Argument to bound method `sortlevel` is incorrect: Expected `bool | list[bool]`, found `list[bool | str]`

pandas/tests/io/formats/test_to_string.py

[error] invalid-argument-type - :179:26 -
Old: Argument to bound method `to_string` is incorrect: Expected `int | list[int] | dict[Hashable, int] | None`, found `dict[Unknown | str, Unknown | str | int]`
New: Argument to bound method `to_string` is incorrect: Expected `int | list[int] | dict[Hashable, int] | None`, found `dict[Hashable, int | str]`

pandas/tests/plotting/test_datetimelike.py

[error] invalid-argument-type - :441:32 -
Old: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["B"]`
New: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["B"] | BaseOffset`
[error] invalid-argument-type - :442:32 -
Old: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["D"]`
New: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["D"] | BaseOffset`
[error] invalid-argument-type - :443:32 -
Old: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["ME"]`
New: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["ME"] | BaseOffset`
[error] invalid-argument-type - :444:32 -
Old: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["QE"]`
New: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["QE"] | BaseOffset`
[error] invalid-argument-type - :445:32 -
Old: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["YE"]`
New: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["YE"] | BaseOffset`
[error] invalid-argument-type - :446:32 -
Old: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["W"]`
New: Argument to function `get_finder` is incorrect: Expected `BaseOffset`, found `Literal["W"] | BaseOffset`

pandera (https://github.com/pandera-dev/pandera)

tests/pandas/test_dtypes.py

[error] invalid-assignment - :170:1 -
Old: Object of type `list[Unknown | tuple[dict[Unknown | <class 'int'> | <class 'Int'> | ... omitted 8 union elements, Unknown | str], list[Unknown | int]] | tuple[dict[Unknown | <class 'INT8'> | <class 'INT16'> | <class 'INT32'> | <class 'INT64'>, Unknown | str], list[Unknown | int | None]] | ... omitted 14 union elements]` is not assignable to `list[tuple[dict[Unknown, Unknown], list[Unknown]]]`
New: Object of type `list[tuple[dict[Unknown, Unknown], list[Unknown]] | tuple[dict[Unknown | <class 'SparseDtype'> | SparseDtype, Unknown | SparseDtype], Series[Any]] | tuple[dict[Unknown | IntervalDtype, Unknown | str], Series[Any]]]` is not assignable to `list[tuple[dict[Unknown, Unknown], list[Unknown]]]`

prefect (https://github.com/PrefectHQ/prefect)

src/integrations/prefect-databricks/prefect_databricks/models/jobs.py

[error] invalid-assignment - :3849:5 -
Old: Object of type `Literal["{}"]` is not assignable to `dict[str, Any] | None`
New: Object of type `dataclasses.Field[Literal["{}"] | dict[str, Any] | None]` is not assignable to `dict[str, Any] | None`

src/integrations/prefect-gcp/prefect_gcp/workers/cloud_run_v2.py

[error] invalid-assignment - :146:5 -
Old: Object of type `None` is not assignable to `str`
New: Object of type `dataclasses.Field[None | str]` is not assignable to `str`

src/integrations/prefect-kubernetes/prefect_kubernetes/worker.py

[error] invalid-assignment - :641:5 -
Old: Object of type `Literal[KubernetesImagePullPolicy.IF_NOT_PRESENT]` is not assignable to `Literal["IfNotPresent", "Always", "Never"]`
New: Object of type `dataclasses.Field[Literal[KubernetesImagePullPolicy.IF_NOT_PRESENT, "IfNotPresent", "Always", "Never"]]` is not assignable to `Literal["IfNotPresent", "Always", "Never"]`

src/integrations/prefect-snowflake/prefect_snowflake/experimental/workers/spcs.py

[error] invalid-assignment - :109:5 -
Old: Object of type `None` is not assignable to `str`
New: Object of type `dataclasses.Field[None | str]` is not assignable to `str`
[error] invalid-assignment - :141:5 -
Old: Object of type `None` is not assignable to `str`
New: Object of type `dataclasses.Field[None | str]` is not assignable to `str`
[error] invalid-assignment - :156:5 -
Old: Object of type `None` is not assignable to `str`
New: Object of type `dataclasses.Field[None | str]` is not assignable to `str`
[error] invalid-assignment - :256:5 -
Old: Object of type `None` is not assignable to `str`
New: Object of type `dataclasses.Field[None | str]` is not assignable to `str`
[error] invalid-assignment - :287:5 -
Old: Object of type `None` is not assignable to `str`
New: Object of type `dataclasses.Field[None | str]` is not assignable to `str`
[error] invalid-assignment - :302:5 -
Old: Object of type `None` is not assignable to `str`
New: Object of type `dataclasses.Field[None | str]` is not assignable to `str`

src/prefect/cli/deploy/_core.py

[error] invalid-argument-type - :337:9 -
Old: Argument is incorrect: Expected `dict[str, Any]`, found `Unknown | None`
New: Argument is incorrect: Expected `dict[str, Any]`, found `dict[str, Any] | None`

src/prefect/deployments/__init__.py

[error] invalid-assignment - :10:1 -
Old: Object of type `dict[Unknown | str, Unknown | tuple[str | None, str]]` is not assignable to `dict[str, tuple[str, str]]`
New: Object of type `dict[str, tuple[str | None, str]]` is not assignable to `dict[str, tuple[str, str]]`

src/prefect/states.py

[error] invalid-argument-type - :369:29 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[R@return_value_to_state]`
New: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[R@return_value_to_state | State[Any]]`

pwndbg (https://github.com/pwndbg/pwndbg)

pwndbg/commands/sigreturn.py

[error] invalid-assignment - :35:1 -
Old: Object of type `dict[Unknown | str, Unknown | set[Unknown | str | None] | set[Unknown | str]]` is not assignable to `dict[str, set[str]]`
New: Object of type `dict[str, set[str] | set[str | None]]` is not assignable to `dict[str, set[str]]`

pydantic (https://github.com/pydantic/pydantic)

pydantic/__init__.py

[error] invalid-assignment - :249:1 -
Old: Object of type `dict[Unknown | str, Unknown | tuple[str | None, str]]` is not assignable to `dict[str, tuple[str, str]]`
New: Object of type `dict[str, tuple[str | None, str]]` is not assignable to `dict[str, tuple[str, str]]`

pydantic/_internal/_generate_schema.py

[error] invalid-assignment - :131:1 -
Old: Object of type `list[Unknown | typing.Tuple | <class 'tuple'>]` is not assignable to `list[type]`
New: Object of type `list[type | typing.Tuple]` is not assignable to `list[type]`
[error] invalid-assignment - :132:1 -
Old: Object of type `list[Unknown | typing.List | <class 'list'> | <class 'MutableSequence'>]` is not assignable to `list[type]`
New: Object of type `list[type | typing.List]` is not assignable to `list[type]`
[error] invalid-assignment - :133:1 -
Old: Object of type `list[Unknown | typing.Set | <class 'set'> | <class 'MutableSet'>]` is not assignable to `list[type]`
New: Object of type `list[type | typing.Set]` is not assignable to `list[type]`
[error] invalid-assignment - :134:1 -
Old: Object of type `list[Unknown | typing.FrozenSet | <class 'frozenset'> | <class 'AbstractSet'>]` is not assignable to `list[type]`
New: Object of type `list[type | typing.FrozenSet]` is not assignable to `list[type]`
[error] invalid-assignment - :135:1 -
Old: Object of type `list[Unknown | typing.Dict | <class 'dict'>]` is not assignable to `list[type]`
New: Object of type `list[type | typing.Dict]` is not assignable to `list[type]`
[error] invalid-assignment - :139:1 -
Old: Object of type `list[Unknown | typing.Type | <class 'type'>]` is not assignable to `list[type]`
New: Object of type `list[type | typing.Type]` is not assignable to `list[type]`
[error] invalid-assignment - :160:1 -
Old: Object of type `list[Unknown | <class 'deque'> | typing.Deque]` is not assignable to `list[type]`
New: Object of type `list[type | typing.Deque]` is not assignable to `list[type]`

rotki (https://github.com/rotki/rotki)

rotkehlchen/tests/db/test_history_events.py

[error] invalid-argument-type - :308:50 -
Old: Argument to bound method `delete_history_events_by_identifier` is incorrect: Expected `list[int]`, found `list[Unknown | int | None]`
New: Argument to bound method `delete_history_events_by_identifier` is incorrect: Expected `list[int]`, found `list[int | None]`
[error] invalid-argument-type - :313:50 -
Old: Argument to bound method `delete_history_events_by_identifier` is incorrect: Expected `list[int]`, found `list[Unknown | int | None]`
New: Argument to bound method `delete_history_events_by_identifier` is incorrect: Expected `list[int]`, found `list[int | None]`

rotkehlchen/tests/integration/test_blockchain.py

[error] invalid-argument-type - :40:9 -
Old: Argument to function `mock_etherscan_query` is incorrect: Expected `dict[@Todo, dict[str | EvmToken, Any]]`, found `dict[Unknown, Unknown | dict[Unknown | Asset, Unknown | int]]`
New: Argument to function `mock_etherscan_query` is incorrect: Expected `dict[@Todo, dict[str | EvmToken, Any]]`, found `dict[@Todo, dict[str | EvmToken, Any] | dict[str | Asset, Any]]`

scipy (https://github.com/scipy/scipy)

scipy/special/_support_alternative_backends.py

[error] invalid-argument-type - :345:9 -
Old: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[Unknown | str, Unknown | bool]`
New: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[str, tuple[bool] | bool]`
[error] invalid-argument-type - :382:15 -
Old: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[Unknown | str, Unknown | bool]`
New: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[str, tuple[bool] | bool]`
[error] invalid-argument-type - :523:9 -
Old: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[Unknown | str, Unknown | bool]`
New: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[str, tuple[bool] | bool]`
[error] invalid-argument-type - :574:9 -
Old: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[Unknown | str, Unknown | bool]`
New: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[str, tuple[bool] | bool]`
[error] invalid-argument-type - :681:9 -
Old: Argument is incorrect: Expected `dict[str, tuple[bool]] | tuple[bool] | None`, found `dict[Unknown | str, Unknown | list[Unknown | bool]]`
New: Argument is incorrect: Expected `dict[str, tuple[bool]] | tuple[bool] | None`, found `dict[str, tuple[bool] | list[Unknown | bool]]`
[error] invalid-argument-type - :686:9 -
Old: Argument is incorrect: Expected `dict[str, tuple[bool]] | tuple[bool] | None`, found `dict[Unknown | str, Unknown | list[Unknown | bool]]`
New: Argument is incorrect: Expected `dict[str, tuple[bool]] | tuple[bool] | None`, found `dict[str, tuple[bool] | list[Unknown | bool]]`
[error] invalid-argument-type - :764:15 -
Old: Argument is incorrect: Expected `dict[str, tuple[bool]] | tuple[bool] | None`, found `dict[Unknown | str, Unknown | tuple[bool, bool]]`
New: Argument is incorrect: Expected `dict[str, tuple[bool]] | tuple[bool] | None`, found `dict[str, tuple[bool] | tuple[bool, bool]]`
[error] invalid-argument-type - :765:15 -
Old: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[Unknown | str, Unknown | tuple[bool, bool] | bool]`
New: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[str, tuple[bool] | tuple[bool, bool] | bool]`
[error] invalid-argument-type - :849:9 -
Old: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[Unknown | str, Unknown | tuple[bool, bool]]`
New: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[str, tuple[bool] | tuple[bool, bool]]`
[error] invalid-argument-type - :854:9 -
Old: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[Unknown | str, Unknown | bool | tuple[bool, bool]]`
New: Argument is incorrect: Expected `bool | tuple[bool] | dict[str, tuple[bool]]`, found `dict[str, tuple[bool] | bool | tuple[bool, bool]]`

scrapy (https://github.com/scrapy/scrapy)

tests/test_pipeline_files.py

[error] invalid-assignment - :368:5 -
Old: Object of type `<class 'list'>` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
[error] invalid-assignment - :369:5 -
Old: Object of type `<class 'list'>` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`
[error] invalid-assignment - :371:5 -
Old: Object of type `<class 'list'>` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
[error] invalid-assignment - :372:5 -
Old: Object of type `<class 'list'>` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`

tests/test_pipeline_images.py

[error] invalid-assignment - :332:5 -
Old: Object of type `<class 'list'>` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
[error] invalid-assignment - :333:5 -
Old: Object of type `<class 'list'>` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`
[error] invalid-assignment - :335:5 -
Old: Object of type `<class 'list'>` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
[error] invalid-assignment - :336:5 -
Old: Object of type `<class 'list'>` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`

setuptools (https://github.com/pypa/setuptools)

setuptools/_distutils/tests/test_extension.py

[error] invalid-argument-type - :75:31 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `list[Unknown | str | int]`
New: Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `list[str | int]`
[error] invalid-argument-type - :78:33 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `list[Unknown | Path]`
New: Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `list[str | Path]`
[error] invalid-argument-type - :88:33 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `list[Unknown | Path | str]`
New: Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `list[str | Path]`

setuptools/_vendor/typeguard/_transformer.py

[error] invalid-argument-type - :1114:25 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[expr]`, found `list[Unknown | expr | None]`
New: Argument to bound method `__init__` is incorrect: Expected `list[expr]`, found `list[expr | None]`

sockeye (https://github.com/awslabs/sockeye)

test/unit/test_output_handler.py

[error] invalid-argument-type - :46:43 -
Old: Argument is incorrect: Expected `list[list[int | float]] | None`, found `list[Unknown | float]`
New: Argument is incorrect: Expected `list[list[int | float]] | None`, found `list[list[int | float] | float]`

sympy (https://github.com/sympy/sympy)

sympy/core/evalf.py

[error] invalid-assignment - :1410:5 -
Old: Object of type `dict[type[Expr], ((Expr, int, dict[str, Any], /) -> Any) | (def evalf_float(expr: Float, prec: int, options: dict[str, Any]) -> Any) | (def evalf_rational(expr: Rational, prec: int, options: dict[str, Any]) -> Any) | ... omitted 16 union elements]` is not assignable to `dict[type[Expr], (Expr, int, dict[str, Any], /) -> Any]`
New: Object of type `dict[type[Expr], ((Expr, int, dict[str, Any], /) -> Any) | ((expr: Float, prec: int, options: dict[str, Any]) -> Any) | ((expr: Integer, prec: int, options: dict[str, Any]) -> Any) | ... omitted 15 union elements]` is not assignable to `dict[type[Expr], (Expr, int, dict[str, Any], /) -> Any]`

sympy/matrices/matrixbase.py

[error] invalid-assignment - :3951:9 -
Old: Object of type `list[Unknown | list[Unknown | One]]` is not assignable to `list[MatrixBase]`
New: Object of type `list[MatrixBase | list[Unknown | One]]` is not assignable to `list[MatrixBase]`

sympy/polys/tests/test_galoistools.py

[error] invalid-argument-type - :395:37 -
Old: Argument to function `gf_multi_eval` is incorrect: Expected `list[MPZ]`, found `list[Unknown | int]`
New: Argument to function `gf_multi_eval` is incorrect: Expected `list[MPZ]`, found `list[MPZ | int]`
[error] invalid-argument-type - :496:22 -
Old: Argument to function `gf_from_dict` is incorrect: Expected `dict[int, MPZ]`, found `dict[Unknown | int, Unknown | int]`
New: Argument to function `gf_from_dict` is incorrect: Expected `dict[int, MPZ]`, found `dict[int, MPZ | int]`
[error] invalid-argument-type - :606:22 -
Old: Argument to function `gf_from_dict` is incorrect: Expected `dict[int, MPZ]`, found `dict[Unknown | int, Unknown | int]`
New: Argument to function `gf_from_dict` is incorrect: Expected `dict[int, MPZ]`, found `dict[int, MPZ | int]`
[error] invalid-argument-type - :726:25 -
Old: Argument to function `gf_from_dict` is incorrect: Expected `dict[int, MPZ]`, found `dict[Unknown | int, Unknown | int]`
New: Argument to function `gf_from_dict` is incorrect: Expected `dict[int, MPZ]`, found `dict[int, MPZ | int]`
[error] invalid-argument-type - :789:22 -
Old: Argument to function `gf_from_dict` is incorrect: Expected `dict[int, MPZ]`, found `dict[Unknown | int, Unknown | int]`
New: Argument to function `gf_from_dict` is incorrect: Expected `dict[int, MPZ]`, found `dict[int, MPZ | int]`

sympy/utilities/tests/test_matchpy_connector.py

[error] invalid-argument-type - :120:50 -
Old: Argument to bound method `add` is incorrect: Expected `list[Expr]`, found `list[Unknown | Unequality]`
New: Argument to bound method `add` is incorrect: Expected `list[Expr]`, found `list[Expr | Unequality]`