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: ensure Python version compatibility for union types
- Replace bytes | None with Union[bytes, None] for broader compatibility
- Replace str | None with Union[str, None] in examples
- Add noqa: UP007 comments to suppress linter preference for newer syntax
- Ensures compatibility with Python environments that don't support PEP 604 unions
- Fixes test failure: 'Unable to evaluate type annotation bytes | None'
All File parameter tests continue to pass (13/13) across Python versions.
0 commit comments