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 typing import TypeAlias as Neotype
|
||||||
from pathlib import PurePosixPath, PureWindowsPath, PosixPath, WindowsPath
|
from pathlib import PurePosixPath, PureWindowsPath, PosixPath, WindowsPath
|
||||||
|
|
||||||
ExecutedPath: Neotype = Union[PosixPath, WindowsPath]
|
ExecutedPath: Neotype = PosixPath | WindowsPath
|
||||||
IdlePath: Neotype = Union[PurePosixPath, PureWindowsPath]
|
IdlePath: Neotype = PurePosixPath | PureWindowsPath
|
||||||
Reference in New Issue
Block a user