Skip to content

Fix python type hints not compatible with Python 3.9

sagnowski requested to merge sagnowski-fix-python-type-hints into main
  • Related issues: N/A
  • Requested reviewers: N/A

Reason why this change is needed

Changes merged to main via !2118 (merged) contained Python type hint syntax introduced in Python 3.10. This caused this conformance test job to fail, as it uses Python 3.9 to run.

Description of the change

  • Older type hint syntax Optional[Path] is used instead of the newer Path | None.

Affected operating points

N/A

Merge request reports

Loading