typing isn't in azure-core's install_requires and isn't part of 2.7's standard library, so the first from typing import ... can raise on 2.7. Fix would be to either take the dependency on typing or guard imports e.g.:
try:
from typing import TYPE_CHECKING
except ImportError:
TYPE_CHECKING = False
if TYPE_CHECKING:
# pylint:disable=unused-import
from typing import Any, Mapping, Optional, Type
typingisn't in azure-core'sinstall_requiresand isn't part of 2.7's standard library, so the firstfrom typing import ...can raise on 2.7. Fix would be to either take the dependency ontypingor guard imports e.g.: