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

Mypy error on cattr.Converter #131

Closed
gleb-chipiga opened this issue Mar 9, 2021 · 1 comment
Closed

Mypy error on cattr.Converter #131

gleb-chipiga opened this issue Mar 9, 2021 · 1 comment

Comments

@gleb-chipiga
Copy link

  • cattrs version: 1.3.0
  • Python version: 3.8.8
  • Operating System: Linux x86-64

Description

Run mypy on first example from readme and get error.

What I Did

import cattr

converter = cattr.Converter()
$ mypy --strict example.py
example.py:3: error: Call to untyped function "Converter" in typed context
Found 1 error in 1 file (checked 1 source file)
@Tinche
Copy link
Member

Tinche commented Mar 12, 2021

Fixed on master!

@Tinche Tinche closed this as completed Mar 12, 2021
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