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 Python 3.9 compatibility by using Union/Optional instead of | syntax
Replace Python 3.10+ union syntax (X | Y) with Union[X, Y] and Optional[X]
to ensure compatibility with Python 3.9 used in PreCommit tests.
Changes:
- Add Union import from typing
- Replace X | None with Optional[X]
- Replace X | Y with Union[X, Y]
- Replace dict[str, Any] with Dict[str, Any]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments