Skip to content

Conversation

@pounard
Copy link
Member

@pounard pounard commented Jul 22, 2025

TD;DR:

Enum file anonymizer

Given the following plain text file:

none
bad
good
expert

Then:

# db_tools.config.yaml
anonymization:
    default:
        customer:
            level:
                anonymizer: file_enum
                options: {source: ./resources/levels.txt}
  #...

For all the rest, it works exactly like any enum anonymizer, it simply load the file in the getSample() method.

@pounard
Copy link
Member Author

pounard commented Jul 22, 2025

Please do not review yet, this will be rebased on top of #225.

EDIT: OK it's ready.

@pounard pounard force-pushed the datalist-2ter-file branch 3 times, most recently from 21c1e16 to e2d1ef7 Compare July 22, 2025 15:30
@pounard pounard added this to the 3.0.0 milestone Jul 22, 2025
@pounard pounard added the enhancement New feature or request label Jul 22, 2025
@pounard pounard force-pushed the datalist-2ter-file branch 2 times, most recently from e18362d to 7282f8a Compare July 23, 2025 13:23
@pounard pounard force-pushed the datalist-2ter-file branch 4 times, most recently from 41c27bc to c129af9 Compare July 24, 2025 07:51
@pounard pounard self-assigned this Jul 24, 2025
@pounard pounard force-pushed the datalist-2ter-file branch from c129af9 to eb8c547 Compare October 18, 2025 12:46
@pounard pounard force-pushed the datalist-2ter-file branch from eb8c547 to ab5160b Compare October 18, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants