def __attrs_post_init__()

in src/dynamodb_encryption_sdk/structures.py [0:0]


    def __attrs_post_init__(self):
        # () -> None
        """Determine if any actions should ever be taken with this configuration and record that for reference."""
        for attribute in ReservedAttributes:
            if attribute.value in self.attribute_actions:
                raise ValueError('No override behavior can be set for reserved attribute "{}"'.format(attribute.value))

        # Enums are not hashable, but their names are unique
        _unique_actions = {self.default_action.name}
        _unique_actions.update({action.name for action in self.attribute_actions.values()})
        no_actions = _unique_actions == {CryptoAction.DO_NOTHING.name}
        self.take_no_actions = no_actions  # attrs confuses pylint: disable=attribute-defined-outside-init