RDT icon indicating copy to clipboard operation
RDT copied to clipboard

Add support for custom Faker providers in AnonymizedFaker and PsuedoAnonymizedFaker

Open srinify opened this issue 1 year ago • 2 comments

Problem Description

Faker supports custom providers, which can be helpful for creating dummy data that's highly specific to someone's use case: https://faker.readthedocs.io/en/master/#how-to-create-a-provider

Extending AnonymizedFaker and PsuedoAnonymizedFaker to support this functionality would help increase the usefulness of RDT.

Additional context

Originally suggested here: https://github.com/sdv-dev/RDT/issues/792

srinify avatar Jun 14 '24 16:06 srinify

Hello, any update on this ? I'm highly interested in this feature :) our team is trying to use custom Faker provider with RDT :) for now the workaround we found is to monkey patch "is_faker_function" function but I don't like this.

AlexandrePieroux avatar Oct 22 '24 14:10 AlexandrePieroux

Hello, Me too ! Looking forward for some updates here :) For now, I'm patching the rdt.transformers.pii.anonymization.is_faker_function() Thanks

nezeral avatar Oct 22 '24 14:10 nezeral