Create a nested function. Create another nested function in the same name right after it. Attempt to suppress it with @typing.no_type_check. I've tried to deal with it in many ways, including opening ...
I found not optimal behavior in this great plugin, I use every day. Nested functions are displayed as any other functions, despite, they are just helper 2nd-level things, that cannot be called / ...