typedecorator icon indicating copy to clipboard operation
typedecorator copied to clipboard

Allow annotations to be optional when @typed

Open chtenb opened this issue 9 years ago • 1 comments
trafficstars

class Foo:
    @typed
    def validate(self, string: str): # TypeError: Annotation doesn't match function signature
        ...

It'd be great if this would not give an error, but just limit the checking to the annotated variables.

chtenb avatar Jun 27 '16 16:06 chtenb

I think this project is dead - the last commit was two years ago. Any confirmation, @dobarkod?

CrazyPython avatar Jul 19 '16 18:07 CrazyPython