Remove MyPy workaround for TypedDicts #16408
Labels
area/codegen
SDK-gen, program-gen, convert
awaiting-upstream
The issue cannot be resolved without action in another repository (may be owned by Pulumi).
blocked
The issue cannot be resolved without 3rd party action.
kind/enhancement
Improvements or new features
language/python
Running mypy gets very slow when there are a lot of TypedDicts. To work around this, the types generated by #15957 are conditional on the used type checker to work around perf issues in MyPy and PyCharm, see #12689 (comment)
Once this is fixed in MyPY https://github.com/python/mypy/issues/ and PyCharm https://youtrack.jetbrains.com/issue/PY-72690/Slow-code-analysis-for-Python-code-using-many-TypedDict we can get rid of the workaround.
The text was updated successfully, but these errors were encountered: