sdvillal / whatami

Easily provide python objects with self-identification
Other
9 stars 1 forks source link

Support new function signature features in python >3.6 #27

Open sdvillal opened 5 years ago

sdvillal commented 5 years ago

Use inspect.getfullargspec. Example:

@whatable
def dtmx_decode(image: Union[Union[str, Path], np.ndarray], **dtmx_decode_extra_params):
    ...