Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.11/site-packages/ansible/module_utils/compat/ |
Upload File : |
"""Compatibility layer for the `typing` module, providing all Python versions access to the newest type-hinting features.""" from __future__ import (absolute_import, division, print_function) __metaclass__ = type # pylint: disable=wildcard-import,unused-wildcard-import # catch *all* exceptions to prevent type annotation support module bugs causing runtime failures # (eg, https://github.com/ansible/ansible/issues/77857) try: from typing_extensions import * except Exception: # pylint: disable=broad-except pass try: from typing import * # type: ignore[misc] except Exception: # pylint: disable=broad-except pass try: cast except NameError: def cast(typ, val): # type: ignore[no-redef] return val