Skip to content

Commit 95cff49

Browse files
mattsb42-awspraus
authored andcommitted
remove an old __init__ that snuck into WrappedCryptographicMaterialsProvider
1 parent 5e9190c commit 95cff49

File tree

1 file changed

+0
-16
lines changed
  • src/dynamodb_encryption_sdk/material_providers

1 file changed

+0
-16
lines changed

src/dynamodb_encryption_sdk/material_providers/wrapped.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,6 @@ def __init__(
8989
self._material_description = material_description
9090
attr.validate(self)
9191

92-
def __init__(
93-
self,
94-
signing_key, # type: DelegatedKey
95-
wrapping_key=None, # type: Optional[DelegatedKey]
96-
unwrapping_key=None # type: Optional[DelegatedKey]
97-
):
98-
# type: (...) -> None
99-
"""Workaround pending resolution of attrs/mypy interaction.
100-
https://github.com/python/mypy/issues/2088
101-
https://github.com/python-attrs/attrs/issues/215
102-
"""
103-
self._signing_key = signing_key
104-
self._wrapping_key = wrapping_key
105-
self._unwrapping_key = unwrapping_key
106-
attr.validate(self)
107-
10892
def _build_materials(self, encryption_context):
10993
# type: (EncryptionContext) -> WrappedCryptographicMaterials
11094
"""Construct

0 commit comments

Comments
 (0)