I have a file which includes code like:
from werkzeug.formparser import MultiPartParser
parser = MultiPartParser()
fields, files = parser.parse(
stream=io.BytesIO(b"foo"),
boundary=boundary.encode("utf-8"),
content_length=len(b"foo"),
)
I have the following configuration in pyproject.toml:
[tool.pyright]
typeCheckingMode = "strict"
pyright reports:
error: Type of "fields" is partially unknown
Type of "fields" is "MultiDict[Unknown, Unknown]" (reportUnknownVariableType)
Environment:
- Python version: 3.12
- Werkzeug version: 3.0.1
I have a file which includes code like:
I have the following configuration in
pyproject.toml:pyrightreports:Environment: