mypy · mypy/valid-type
valid-type
Invalid Type Expression
An expression used as a type annotation is not a valid type. This can occur when using a value rather than a type, or an expression that mypy cannot interpret as a type.
An expression used as a type annotation is not a valid type. This can occur when using a value rather than a type, or an expression that mypy cannot interpret as a type.