You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside the metadata, a user can add a boolean information indicating wether a column is a pii. The current logic is to assign AnonymizedFaker whenever this field is True.
Expected behavior
Now that there are some pii sdtypes that have premium transformers (email/phone number...), those transformers should be assigned regardless on the pii field.
The new logic for pii sdtypes:
If a user has access to the premium transformer for this sdtype, assign it.
If a user doesn't have access to a premium transformer, then
If pii=True, assign AnonymizedFaker
If pii=False, assign the default categorical transformer, currently UniformEncoder.
Additional context
After the changes, the code below should assign the premium transformer for premium users and AnonymizedFaker otherwise.
Problem Description
Inside the metadata, a user can add a boolean information indicating wether a column is a
pii
. The current logic is to assignAnonymizedFaker
whenever this field isTrue
.Expected behavior
Now that there are some pii sdtypes that have premium transformers (email/phone number...), those transformers should be assigned regardless on the
pii
field.The new logic for
pii sdtypes
:pii=True
, assignAnonymizedFaker
pii=False
, assign the default categorical transformer, currentlyUniformEncoder
.Additional context
After the changes, the code below should assign the premium transformer for premium users and
AnonymizedFaker
otherwise.The text was updated successfully, but these errors were encountered: