Mr.Combet Webshell
Your IP :
18.219.152.33
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
lib
/
python2.7
/
site-packages
/
acme
/
View File Name :
magic_typing.py
"""Shim class to not have to depend on typing module in prod.""" import sys class TypingClass(object): """Ignore import errors by getting anything""" def __getattr__(self, name): return None try: # mypy doesn't respect modifying sys.modules from typing import * # pylint: disable=wildcard-import, unused-wildcard-import from typing import Collection, IO # type: ignore except ImportError: # mypy complains because TypingClass is not a module sys.modules[__name__] = TypingClass() # type: ignore