iotile / typedargs

API typechecking and command line shell generation package
GNU Lesser General Public License v3.0
1 stars 2 forks source link

Ensure __init__ functions properly support function annotations as well #64

Closed timburke closed 4 years ago

timburke commented 4 years ago

See #63 for additional context. That issue makes sure we can include type information in a class's docstring and have it propagate to the __init__ function. We also need to make sure that a function annotate on a parameter in that __init__ function also works. This will likely happen by default when we support function annotations in general but depending on how #63 is resolved, that could break function annotations for __init__ functions.