typedecorator
typedecorator copied to clipboard
Allow annotations to be optional when @typed
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.
I think this project is dead - the last commit was two years ago. Any confirmation, @dobarkod?