Server IP : 213.176.29.180  /  Your IP : 3.137.185.202
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib/python3.6/site-packages/isc/../acme/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib/python3.6/site-packages/isc/../acme/magic_typing.py
"""Simple shim around the typing module.

This was useful when this code supported Python 2 and typing wasn't always
available. This code is being kept for now for backwards compatibility.

"""
import warnings
from typing import *  # pylint: disable=wildcard-import, unused-wildcard-import
from typing import Any

warnings.warn("acme.magic_typing is deprecated and will be removed in a future release.",
              DeprecationWarning)


class TypingClass:
    """Ignore import errors by getting anything"""
    def __getattr__(self, name: str) -> Any:
        return None  # pragma: no cover