File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 21
21
22
22
from aws_encryption_sdk .exceptions import InvalidAlgorithmError
23
23
24
+ try : # Python 3.5.0 and 3.5.1 have incompatible typing modules
25
+ from typing import Optional # noqa pylint: disable=unused-import
26
+ except ImportError : # pragma: no cover
27
+ # We only actually need these imports when running the mypy checks
28
+ pass
29
+
24
30
__version__ = "1.3.8"
25
31
USER_AGENT_SUFFIX = "AwsEncryptionSdkPython/{}" .format (__version__ )
26
32
Original file line number Diff line number Diff line change 40
40
from aws_encryption_sdk .internal .utils .streams import TeeStream
41
41
from aws_encryption_sdk .structures import EncryptedDataKey , MasterKeyInfo , MessageHeader
42
42
43
+ try : # Python 3.5.0 and 3.5.1 have incompatible typing modules
44
+ from typing import IO , Set # noqa pylint: disable=unused-import
45
+ except ImportError : # pragma: no cover
46
+ # We only actually need these imports when running the mypy checks
47
+ pass
48
+
43
49
_LOGGER = logging .getLogger (__name__ )
44
50
45
51
You can’t perform that action at this time.
0 commit comments