You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Restore `TYPE_CHECKING` code clauses in `codegen/__init__.py` and `codegen/utils.py`
that were removed in #4978.
1. Update `requires-optional.txt` to specify `black==25.1.0` to be consistent with
version specified in `pyproject.toml`.
1. Change required Python version in `pyproject.toml` to 3.9 because desired version
of `black` does not work with Python 3.8.
closes#5186
@IlanCosman@kszlim Thank you for reporting. We've identified the issue and are working on a fix.
We're able to reproduce the broken highlighting (see screenshot below) but can't reproduce the red underline / Cannot access attribute "Title" error -- @kszlim are you seeing that error as well? Is it coming from Pylance or another tool?
Code:
Expected highlighting / lack of errors (from v6.0.1):
Broken highlight with errors (from v6.1.0):
The error is:
The code of course still runs just fine. I'm using the latest version of VSCode and Pylance at time of writing.
The text was updated successfully, but these errors were encountered: