You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ce attrs
So far, autodoc obtains type annotations of instance attributes by
ModuleAnalyzer directly. As a result, autodoc_type_aliases are ignored
for these variables.
This goes to merge type annotations from the class itself and
ModuleAnalyzer's, and get type annotations using `typing.get_type_hints()`
to apply autodoc_type_aliases.
Describe the bug
autodoc: autodoc_type_aliases does not effect to the type annotation for instance attributes
To Reproduce
Expected behavior
The type annotations for the instance variables also changed by autodoc_type_aliases
Your project
No
Screenshots
No
Environment info
Additional context
No
The text was updated successfully, but these errors were encountered: