iotile / typedargs

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

Support type classes instead of type modules #71

Closed timburke closed 4 years ago

timburke commented 4 years ago

See #70 for more details.

typedargs should be able to receive a function annotation specifying a class directly that has the following members:

When such a class is found, the corresponding operations should translate to just invocation of the given method on the class or class instance depending.