I want to have a "return type" section for class properties. If I type hint functions, this works correctly but if I type hint class properties, the hint is part of the call signature. If I remove the type hint and add it to the "Returns" section of the docstring, it appears but includes a "Returns:" before "Return type:" that is always empty and unnecessary.
I want to have a "return type" section for class properties. If I type hint functions, this works correctly but if I type hint class properties, the hint is part of the call signature. If I remove the type hint and add it to the "Returns" section of the docstring, it appears but includes a "Returns:" before "Return type:" that is always empty and unnecessary.