20 lines
438 B
Python
20 lines
438 B
Python
"""
|
|
Library of custom type hints.
|
|
"""
|
|
|
|
from typing import TypeAlias as Neotype
|
|
from pathlib import PurePosixPath, PureWindowsPath, PosixPath, WindowsPath
|
|
from enum import Enum
|
|
|
|
ExecutedPath: Neotype = PosixPath | WindowsPath
|
|
IdlePath: Neotype = PurePosixPath | PureWindowsPath
|
|
|
|
class VirtualPrivateServers(Enum):
|
|
Linode = 0
|
|
|
|
class AnsibleScopes(Enum):
|
|
INTERNAL = 0
|
|
INVENTORY = 1
|
|
GROUPVARS = 2
|
|
HOSTVARS = 3
|
|
ROLE = 4 |