"""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
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 726 B | 0644 |
|
challenges.py | File | 21.19 KB | 0644 |
|
client.py | File | 52.86 KB | 0644 |
|
crypto_util.py | File | 16.34 KB | 0644 |
|
errors.py | File | 4.21 KB | 0644 |
|
fields.py | File | 1.84 KB | 0644 |
|
jws.py | File | 2.33 KB | 0644 |
|
magic_typing.py | File | 595 B | 0644 |
|
messages.py | File | 24.74 KB | 0644 |
|
mixins.py | File | 2.78 KB | 0644 |
|
standalone.py | File | 12.83 KB | 0644 |
|
util.py | File | 303 B | 0644 |
|