fix: replaced undefined Union reference to use of Union operator
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user