File tree 7 files changed +10
-10
lines changed
7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
boto3 >= 1.4.4
2
2
cryptography >= 1.8.1
3
- attrs >= 16.3 .0
3
+ attrs >= 17.4 .0
4
4
wrapt >= 1.10.11
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ class MasterKeyConfig(object):
303
303
key_id = attr .ib (
304
304
hash = True ,
305
305
validator = attr .validators .instance_of ((six .string_types , bytes )),
306
- convert = to_bytes
306
+ converter = to_bytes
307
307
)
308
308
309
309
def __attrs_post_init__ (self ):
Original file line number Diff line number Diff line change @@ -52,13 +52,13 @@ class KMSMasterKeyProviderConfig(MasterKeyProviderConfig):
52
52
hash = True ,
53
53
default = attr .Factory (tuple ),
54
54
validator = attr .validators .instance_of (tuple ),
55
- convert = tuple
55
+ converter = tuple
56
56
)
57
57
region_names = attr .ib (
58
58
hash = True ,
59
59
default = attr .Factory (tuple ),
60
60
validator = attr .validators .instance_of (tuple ),
61
- convert = tuple
61
+ converter = tuple
62
62
)
63
63
64
64
@@ -179,7 +179,7 @@ class KMSMasterKeyConfig(MasterKeyConfig):
179
179
hash = True ,
180
180
default = attr .Factory (tuple ),
181
181
validator = attr .validators .instance_of (tuple ),
182
- convert = tuple
182
+ converter = tuple
183
183
)
184
184
185
185
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class RawMasterKeyConfig(MasterKeyConfig):
43
43
provider_id = attr .ib (
44
44
hash = True ,
45
45
validator = attr .validators .instance_of ((six .string_types , bytes )),
46
- convert = aws_encryption_sdk .internal .str_ops .to_str
46
+ converter = aws_encryption_sdk .internal .str_ops .to_str
47
47
)
48
48
wrapping_key = attr .ib (hash = True , validator = attr .validators .instance_of (WrappingKey ))
49
49
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class CachingCryptoMaterialsManager(CryptoMaterialsManager):
89
89
)
90
90
partition_name = attr .ib (
91
91
default = None ,
92
- convert = to_bytes ,
92
+ converter = to_bytes ,
93
93
validator = attr .validators .optional (attr .validators .instance_of (bytes ))
94
94
)
95
95
master_key_provider = attr .ib (
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class _ClientConfig(object):
64
64
will attempt to seek() to the end of the stream and tell() to find the length of source data.
65
65
"""
66
66
67
- source = attr .ib (hash = True , convert = aws_encryption_sdk .internal .utils .prep_stream_data )
67
+ source = attr .ib (hash = True , converter = aws_encryption_sdk .internal .utils .prep_stream_data )
68
68
materials_manager = attr .ib (
69
69
hash = True ,
70
70
default = None ,
Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ class MasterKeyInfo(object):
70
70
provider_id = attr .ib (
71
71
hash = True ,
72
72
validator = attr .validators .instance_of ((six .string_types , bytes )),
73
- convert = to_str
73
+ converter = to_str
74
74
)
75
75
key_info = attr .ib (
76
76
hash = True ,
77
77
validator = attr .validators .instance_of ((six .string_types , bytes )),
78
- convert = to_bytes
78
+ converter = to_bytes
79
79
)
80
80
81
81
You can’t perform that action at this time.
0 commit comments