autoDocstring icon indicating copy to clipboard operation
autoDocstring copied to clipboard

Guess argument type based on sanity checks

Open a18rhodes opened this issue 5 years ago • 0 comments

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.

a18rhodes avatar Feb 07 '20 21:02 a18rhodes