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
I see output like the attached image. I'm wondering, is this style a bad idea? I'd rather avoid PEP 224-style docstrings that appear after the class field, since I want programmatic access to this docstring elsewhere, but I'd really like to hook into sphinx... I'd appreciate any suggestions on how to get this working or how to do it a better way. Thanks!!!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to document dataclasses like this one:
Currently, using
I see output like the attached image. I'm wondering, is this style a bad idea? I'd rather avoid PEP 224-style docstrings that appear after the class field, since I want programmatic access to this docstring elsewhere, but I'd really like to hook into sphinx... I'd appreciate any suggestions on how to get this working or how to do it a better way. Thanks!!!
Beta Was this translation helpful? Give feedback.
All reactions