pytkdocs
pytkdocs copied to clipboard
Class attribute's type not detected properly when class is decorated
Describe the bug
It seems pytkdocs has trouble detecting a class attribute's type when the class is decorated.
To Reproduce See an example here: https://github.com/copier-org/copier/pull/203#discussion_r459869048. The description is correctly parsed from the docstring, but the type is not used.
Expected behavior
The type (cli.Flag in the example) should appear in the Attributes table.
Screenshots
If you are using pytkdocs through mkdocstrings and if relevant, please attach a screenshot.

System (please complete the following information):
pytkdocsversion 0.6.0- Python version: 3.6
- OS: Linux