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
If we implement this, we should first add an option to hide attribute values in mkdocstrings-python, since we've been recommending to delay assignments as a solution:
a: str# no value shown by mkdocstrings-pythona="hello"
Is your feature request related to a problem? Please describe.
In the following example:
...the value of
dataclass_opt
will beNone
.Describe the solution you'd like
Should we visit the
if
nodes instead and merge the assigned value to the previously registered annotated-only attribute?Describe alternatives you've considered
/
Additional context
In could help value inference in #240.
Boost priority
The text was updated successfully, but these errors were encountered: