Coverage for confy_addons/core/mixins.py: 100%
3 statements
« prev ^ index » next coverage.py v7.10.7, created at 2026-02-20 18:19 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2026-02-20 18:19 +0000
1"""Mixin classes for encryption handlers."""
4class EncryptionMixin:
5 """Mixin class for encryption handlers.
7 This mixin provides a common interface for encryption handler classes,
8 allowing them to be identified as encryption-related classes.
10 """
12 def __delattr__(self, _):
13 """Prevent deletion of attributes to enhance security.
15 Raises:
16 AttributeError: Always raised to prevent attribute deletion.
18 """
19 raise AttributeError('Attribute deletion is not allowed for security reasons')