Skip to content

Commit 1a3b60f

Browse files
AtR1anCopilot
andcommitted
AP-25288: Improve docstring of _generate_description
Co-authored-by: Copilot <[email protected]>
1 parent 9b8b48d commit 1a3b60f

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
@@ -1805,6 +1805,12 @@ def _generate_description(self, visible_options=None):
18051805
from self._enum are included. If provided, only these members appear
18061806
in the description.
18071807
1808+
Returns
1809+
-------
1810+
str
1811+
A formatted description string containing the available options,
1812+
optionally restricted to the provided ``visible_options``.
1813+
18081814
Returns
18091815
-------
18101816
str

0 commit comments

Comments
 (0)