pytkdocs icon indicating copy to clipboard operation
pytkdocs copied to clipboard

Class attribute's type not detected properly when class is decorated

Open pawamoy opened this issue 5 years ago • 0 comments

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. image

System (please complete the following information):

  • pytkdocs version 0.6.0
  • Python version: 3.6
  • OS: Linux

pawamoy avatar Jul 28 '20 11:07 pawamoy