Skip to content
Snippets Groups Projects
Commit 29312dff authored by David Douard's avatar David Douard
Browse files

Add support for model object anonymization

Simply add a BaseModel.anonymize() method. Default implementation returns
None, meaning the object is not anonymizable.

For Person, the method returns a Person whith hashed fullname (and unset
name and email).

For Revision and Release, the method returns an anonymized version of
the object, i.e. with instance of Person replaced by anonymized ones.
parent cce30366
No related branches found
Tags v0.2.0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment