djblets.privacy.consent.hooks¶
Extension hooks for consent requirements.
- class ConsentRequirementHook(extension: Extension, *args, **kwargs)[source]¶
Bases:
BaseRegistryHook
Registers a ConsentRequirement for use of personal data.
- hooks = []¶
- remove_hook: Callable[['ExtensionHook', ExtensionHook], None] = <bound method ExtensionHookPoint.remove_hook of <class 'djblets.privacy.consent.hooks.ConsentRequirementHook'>>¶