Skip to content

Commit c68f4ea

Browse files
AtR1anCopilot
andauthored
AP-25288: Improve docstring of _generate_description
Co-authored-by: Copilot <[email protected]>
1 parent 84473a0 commit c68f4ea

File tree

1 file changed

+6
-0
lines changed
  • org.knime.python3.nodes/src/main/python/knime/extension

1 file changed

+6
-0
lines changed

org.knime.python3.nodes/src/main/python/knime/extension/parameter.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,6 +1806,12 @@ def _generate_description(self, visible_options=None):
18061806
from self._enum are included. If provided, only these members appear
18071807
in the description.
18081808
1809+
Returns
1810+
-------
1811+
str
1812+
A formatted description string containing the available options,
1813+
optionally restricted to the provided ``visible_options``.
1814+
18091815
Returns
18101816
-------
18111817
str

0 commit comments

Comments
 (0)