mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
409 B
Python
23 lines
409 B
Python
5 years ago
|
"""Import wrapper for type hints when available."""
|
||
|
from __future__ import (absolute_import, division, print_function)
|
||
|
__metaclass__ = type
|
||
|
|
||
|
try:
|
||
|
from typing import (
|
||
|
Any,
|
||
5 years ago
|
AnyStr,
|
||
5 years ago
|
Callable,
|
||
5 years ago
|
Dict,
|
||
|
FrozenSet,
|
||
|
Iterable,
|
||
|
List,
|
||
|
Optional,
|
||
|
Set,
|
||
5 years ago
|
Text,
|
||
5 years ago
|
Tuple,
|
||
|
Type,
|
||
|
TypeVar,
|
||
|
)
|
||
|
except ImportError:
|
||
|
pass
|