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
Fix NameError: restore Optional import in uia/patterns.py
ruff's --fix removed Optional from patterns.py imports (F401) after UP007
converted some usages, but Optional["TextRange"] string annotations at
lines 1412/1426 still require it at runtime. Restored the import and
converted the remaining non-string Optional[X] usages (UP045) to X | None.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments