aboutsummaryrefslogtreecommitdiffstats
path: root/examples/local.py
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-21 02:19:24 +0000
committerAlex Schofield <git@ajschof.me>2025-02-21 02:19:24 +0000
commit6e17fcd7a99f6405dad105d83381f80e5951fc83 (patch)
treee143160dfb5c2ee95f3ef7381472842ebcd477c1 /examples/local.py
parent8465343ef01fd18fd753efa55d770e66addfb46f (diff)
downloadgdpr-obfuscator-6e17fcd7a99f6405dad105d83381f80e5951fc83.tar.gz
gdpr-obfuscator-6e17fcd7a99f6405dad105d83381f80e5951fc83.zip
update funcion/method names & add missing parameters
Diffstat (limited to 'examples/local.py')
-rw-r--r--examples/local.py6
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()
git.ajschof.me — hosted by ajschofield — powered by cgit