Ensure all modules using PEP 604 union syntax (X | Y) include
the future annotations import for Python <3.10 compatibility.
While the project requires >=3.11, this avoids import-time
TypeErrors when running tests on older interpreters.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These two files from upstream use PEP 604 union syntax (str | None)
without the future annotations import. While the project requires
Python >=3.11, this makes local testing possible on 3.9/3.10.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>