fix: replaced undefined Union reference to use of Union operator

This commit is contained in:
2026-01-02 17:02:11 -05:00
parent 9e4f0c6881
commit ee15faa104

View File

@@ -5,5 +5,5 @@ Library of custom type hints.
from typing import TypeAlias as Neotype
from pathlib import PurePosixPath, PureWindowsPath, PosixPath, WindowsPath
ExecutedPath: Neotype = Union[PosixPath, WindowsPath]
IdlePath: Neotype = Union[PurePosixPath, PureWindowsPath]
ExecutedPath: Neotype = PosixPath | WindowsPath
IdlePath: Neotype = PurePosixPath | PureWindowsPath