Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow annotations to be optional when @typed #11

Open
chtenb opened this issue Jun 27, 2016 · 1 comment
Open

Allow annotations to be optional when @typed #11

chtenb opened this issue Jun 27, 2016 · 1 comment

Comments

@chtenb
Copy link

chtenb commented Jun 27, 2016

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.

@CrazyPython
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants