Skip to content

Commit da163d3

Browse files
committed
Add docstring
1 parent 4e12f92 commit da163d3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

tests/test_misc.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ class ScriptModule:
2828
"""Mock for the org.scijava.script.ScriptModule class."""
2929

3030
def __init__(self, input_names, inputs):
31+
"""ScriptModule constructor.
32+
33+
Parameters
34+
----------
35+
input_names : list(str)
36+
The list of input names. FIXME: explain better.
37+
inputs :dict
38+
A dict having the `input_names` as keys. Values are representing the
39+
content of the respective script parameter.
40+
"""
3141
self.info = ScriptInfo(input_names)
3242
self.inputs = inputs
3343

0 commit comments

Comments
 (0)