I would suggest applying a formal Docstring format that explicitly describe the input parameters. I personally like Numpy docstrings: https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard