Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrub database dump: implement private fields for classes (1/3) #223

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

odo-sfct
Copy link
Collaborator

@odo-sfct odo-sfct commented Jun 9, 2024

Part 1 | Part 2 | Part 3

Implements the first part of creating a scrub database dump script is to allow models to declare which fields are sensitive and scrubbed.

Models that have this should extend the interface by inheriting the mixin class and overriding the privacy_protected_method method. The types are mapped to Faker fake function implementations.

@odo-sfct odo-sfct changed the title scrub database dump: implement private fields for classes scrub database dump: implement private fields for classes (1/4) Jun 9, 2024
@odo-sfct odo-sfct changed the title scrub database dump: implement private fields for classes (1/4) scrub database dump: implement private fields for classes (1/3) Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant