Is it possible to add custom fields in the comment section?

Answered

The automatically generated comments include all parameters and return as keys of the dict in the comment section. Is it possible to adde my own field name, i. e. ':example' as one more field?

 

:param channel:
:param relation_type:
:return:

 Thanks

1 comment
Comment actions Permalink

You can add anything you want to your docstrings. But changing a docstring template is not possible at the moment https://youtrack.jetbrains.com/issue/PY-12327

0

Please sign in to leave a comment.