autoDocstring
autoDocstring copied to clipboard
Guess argument type based on sanity checks
Much of my code has a sanity check around a function's arguments e.g.,
if not isinstance(param1, str):
raise TypeError("param1 must be a string")
It would be nice if the extension could use these sanity checks to help guess the param type since my usage seems to indicate that is not the case.