in src/dynamodb_encryption_sdk/materials/raw.py [0:0]
def __attrs_post_init__(self):
"""Verify that the encryption key is allowed be used for raw materials."""
if self._encryption_key is not None and not self._encryption_key.allowed_for_raw_materials:
raise ValueError(
'Encryption key type "{}" does not allow use with RawEncryptionMaterials'.format(
type(self._encryption_key)
)
)