mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
This decorator is fully type hinted in Typeshed, so, with the changes introduced for PY-60104, it's no longer necessary to special-case it anywhere. PyDecoratedFunctionTypeProvider can infer the correct type after application of this decorator to a generator function just as for any other typed decorator. The original problem was caused by the fact that PyDecoratedFunctionTypeProvider didn't process declarations having any decorator listed in the KnownDecorator enum, as presumably all of them were too "magical" to analyze. Co-authored-by: Daniil Kalinin <daniil.kalinin@jetbrains.com> GitOrigin-RevId: 53b277803a1eb42784131d0dae5bb7ace173c017