Skip to content

Correct "overloaded_signatures_param_specific()" and its error message - #20994

Merged
hauntsaninja merged 1 commit into
python:masterfrom
hyperkai:hyperkai-patch-12
Mar 10, 2026
Merged

Correct "overloaded_signatures_param_specific()" and its error message#20994
hauntsaninja merged 1 commit into
python:masterfrom
hyperkai:hyperkai-patch-12

Conversation

@hyperkai

@hyperkai hyperkai commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

Fix: #20995

If you're worried that mypy may be broken, I'll revert all the changes except the error message.

@github-actions

github-actions Bot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/client/schemas/objects.py:313: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/client/schemas/objects.py:313: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/client/schemas/objects.py:313: error: Overloaded function implementation does not accept all possible arguments of signature 3  [misc]
+ src/prefect/client/schemas/objects.py:313: error: Overloaded function implementation does not accept all possible parameters of signature 3  [misc]
- src/prefect/task_runners.py:108: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/task_runners.py:108: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/task_runners.py:108: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/task_runners.py:108: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/task_runners.py:345: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/task_runners.py:345: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/task_runners.py:345: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/task_runners.py:345: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/task_runners.py:434: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/task_runners.py:434: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/task_runners.py:434: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/task_runners.py:434: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/task_runners.py:1025: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/task_runners.py:1025: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/task_runners.py:1123: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/task_runners.py:1123: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/task_runners.py:1226: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/task_runners.py:1226: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/task_runners.py:1226: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/task_runners.py:1226: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/task_runners.py:1279: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/task_runners.py:1279: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/task_runners.py:1279: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/task_runners.py:1279: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/flows.py:1777: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/flows.py:1777: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/flows.py:1777: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/flows.py:1777: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/flows.py:1777: error: Overloaded function implementation does not accept all possible arguments of signature 3  [misc]
+ src/prefect/flows.py:1777: error: Overloaded function implementation does not accept all possible parameters of signature 3  [misc]
- src/prefect/flows.py:2310: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/flows.py:2310: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/flows.py:2310: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/flows.py:2310: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/flows.py:2310: error: Overloaded function implementation does not accept all possible arguments of signature 3  [misc]
+ src/prefect/flows.py:2310: error: Overloaded function implementation does not accept all possible parameters of signature 3  [misc]
- src/prefect/tasks.py:1180: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/tasks.py:1180: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/tasks.py:1180: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/tasks.py:1180: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/tasks.py:1180: error: Overloaded function implementation does not accept all possible arguments of signature 3  [misc]
+ src/prefect/tasks.py:1180: error: Overloaded function implementation does not accept all possible parameters of signature 3  [misc]
- src/prefect/tasks.py:1259: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/tasks.py:1259: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/task_engine.py:1854: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/prefect/task_engine.py:1854: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/prefect/task_engine.py:1854: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/task_engine.py:1854: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/variables.py:212: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/variables.py:212: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/flow_runs.py:333: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/flow_runs.py:333: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/flow_runs.py:613: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/flow_runs.py:613: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/prefect/automations.py:234: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/prefect/automations.py:234: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]

steam.py (https://github.com/Gobot1234/steam.py)
- steam/ext/commands/cog.py:37: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ steam/ext/commands/cog.py:37: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- steam/ext/commands/cog.py:53: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ steam/ext/commands/cog.py:53: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
- src/hydra_zen/typing/_builds_overloads.py:229: error: Overloaded function implementation does not accept all possible arguments of signature 3  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:229: error: Overloaded function implementation does not accept all possible parameters of signature 3  [misc]
- src/hydra_zen/typing/_builds_overloads.py:229: error: Overloaded function implementation does not accept all possible arguments of signature 5  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:229: error: Overloaded function implementation does not accept all possible parameters of signature 5  [misc]
- src/hydra_zen/typing/_builds_overloads.py:229: error: Overloaded function implementation does not accept all possible arguments of signature 7  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:229: error: Overloaded function implementation does not accept all possible parameters of signature 7  [misc]
- src/hydra_zen/typing/_builds_overloads.py:229: error: Overloaded function implementation does not accept all possible arguments of signature 9  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:229: error: Overloaded function implementation does not accept all possible parameters of signature 9  [misc]
- src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]
- src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible arguments of signature 4  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible parameters of signature 4  [misc]
- src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible arguments of signature 6  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible parameters of signature 6  [misc]
- src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible arguments of signature 8  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible parameters of signature 8  [misc]
- src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible arguments of signature 10  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:468: error: Overloaded function implementation does not accept all possible parameters of signature 10  [misc]
- src/hydra_zen/typing/_builds_overloads.py:654: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:654: error: Overloaded function implementation does not accept all possible parameters of signature 1  [misc]
- src/hydra_zen/typing/_builds_overloads.py:654: error: Overloaded function implementation does not accept all possible arguments of signature 5  [misc]
+ src/hydra_zen/typing/_builds_overloads.py:654: error: Overloaded function implementation does not accept all possible parameters of signature 5  [misc]
- src/hydra_zen/structured_configs/_implementations.py:3439: error: Overloaded function implementation does not accept all possible arguments of signature 6  [misc]
+ src/hydra_zen/structured_configs/_implementations.py:3439: error: Overloaded function implementation does not accept all possible parameters of signature 6  [misc]
- src/hydra_zen/structured_configs/_implementations.py:3439: error: Overloaded function implementation does not accept all possible arguments of signature 7  [misc]
+ src/hydra_zen/structured_configs/_implementations.py:3439: error: Overloaded function implementation does not accept all possible parameters of signature 7  [misc]

ibis (https://github.com/ibis-project/ibis)
- ibis/expr/api.py:859: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
+ ibis/expr/api.py:859: error: Overloaded function implementation does not accept all possible parameters of signature 2  [misc]

@hauntsaninja
hauntsaninja merged commit 656b09a into python:master Mar 10, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

overloaded_signatures_arg_specific() and its error message should be corrected

2 participants