changepoints: type hints
The docstrings to flagChangePoints
seems to be broken, could you please check that @luenensc ?
I renamed some parameters, as parameters with leading underscore seem weird to me.
Merge request reports
Activity
changed milestone to %Merge 1.5
added category: algorithms + 1 deleted label
added 1 commit
- 87793b64 - Literal is Python3.8 and needs to be imported from typing_extensions
mentioned in issue #138 (closed)
hm... i like those leading underscores.
i kind of wanted to mark those parameters with leading underscore as "private" - they are only used by other functions, when they wrap around them and are not meant to be used by the user directly. Also i thought, that way, one can easily exclude them from the read the docs docu.
I think i have seen leading underscore parameter in pandas functions. But maybe my mind tricks me. so.. couldnt we keep those or is it really too weird?
- Resolved by David Schäfer
Sure we could... But I can't see anything private in a function parameter, because, a signature is public contract. The docs arguments is sort of compelling though...
Maybe @palmb has an opinion on that?
mentioned in commit cb12c41e