Skip to content

Mypy error on cattr.Converter #131

@gleb-chipiga

Description

@gleb-chipiga
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions