Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Optional for type hints to ensure backward compatibility.
Replaced PEP 604 union syntax (|) with Optional for type hints to maintain compatibility with Python versions earlier than 3.10.
- Loading branch information