diff options
| author | Alex Schofield <git@ajschof.me> | 2025-02-21 02:19:24 +0000 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2025-02-21 02:19:24 +0000 |
| commit | 6e17fcd7a99f6405dad105d83381f80e5951fc83 (patch) | |
| tree | e143160dfb5c2ee95f3ef7381472842ebcd477c1 /examples | |
| parent | 8465343ef01fd18fd753efa55d770e66addfb46f (diff) | |
| download | gdpr-obfuscator-6e17fcd7a99f6405dad105d83381f80e5951fc83.tar.gz gdpr-obfuscator-6e17fcd7a99f6405dad105d83381f80e5951fc83.zip | |
update funcion/method names & add missing parameters
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/local.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/local.py b/examples/local.py index d41dfa3..660146d 100644 --- a/examples/local.py +++ b/examples/local.py @@ -2,8 +2,10 @@ from gdpr_obfuscator import Obfuscator obfuscator = Obfuscator() + def main(): - return obfuscator.local(location="../mock_data.csv", pii_fields=["name", "email"]) + print(obfuscator.process_local(path="mock_data.csv", pii_fields=["name", "email"])) + if __name__ == "__main__": - main()
\ No newline at end of file + main() |
