pylance-release
pylance-release copied to clipboard
Remove return type from __init__ override member completion
Discussed in https://github.com/microsoft/pylance-release/discussions/2593
Originally posted by savannahostrowski May 10, 2021 If I'm in a typeCheckingMode of "off", I don't want to see a return type for function snippets.
we just converted this back to an issue to add it to our roadmap
Very happy to see this get resolved!
Did this ever get resolved? Experiencing similar for __call__
. Especially bad when overriding a method from an inherited class. on Pylance v2024.4.1
Did this ever get resolved?
@mattskel, not yet. Based on up-votes we converted it from an enhancement discussion back into an issue, but we haven't acted on it yet.
so, we don't want to add typing for override when typing mode is off? doing that is easy but LS experience will be degraded since we no longer know what arguments/return types are. either perf will degrade (since we now need to infer (calculate) it or can't figure out at all) or completion might not be offered for arguments.
I would like to see these implemented.