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

Set the default transformer for GPS column relationship #1749

Closed
R-Palazzo opened this issue Jan 22, 2024 · 0 comments · Fixed by #1751 or #1766
Closed

Set the default transformer for GPS column relationship #1749

R-Palazzo opened this issue Jan 22, 2024 · 0 comments · Fixed by #1751 or #1766
Assignees
Labels
feature request Request for a new feature
Milestone

Comments

@R-Palazzo
Copy link
Contributor

Problem Description

As a user, when I set a gps column relationship, I'm expecting the columns to be transformed with the MetroAreaAnonymizer if I have access to it and AnonymizedFaker otherwise

Expected behavior

Update the following dict inside the data processor to set the MetroAreaAnonymizer as default transformer for the gps relationship:

_COLUMN_RELATIONSHIP_TO_TRANSFORMER = {

Also update the metadata validation similarly to what is done for the address relationship:

def validate_address_sdtypes(columns_to_sdtypes):

Additional context

The logic is the same as the address relationship, so it can be use as example.

@R-Palazzo R-Palazzo added feature request Request for a new feature new Automatic label applied to new issues labels Jan 22, 2024
@npatki npatki removed the new Automatic label applied to new issues label Jan 22, 2024
@R-Palazzo R-Palazzo mentioned this issue Feb 1, 2024
@R-Palazzo R-Palazzo added this to the 1.10.0 milestone Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants