aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/local.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/local.py b/examples/local.py
index 73b8530..befd9f2 100644
--- a/examples/local.py
+++ b/examples/local.py
@@ -2,5 +2,8 @@ from gdpr_obfuscator import Obfuscator
obfuscator = Obfuscator()
+json_input = (
+ '{"file_path": "./test/data/mock_data.csv", "pii_fields": ["name", "email"]}'
+)
-print(obfuscator.process_local(path="mock_data.csv", pii_fields=["name", "email"]))
+print(obfuscator.process_local(json_input))
git.ajschof.me — hosted by ajschofield — powered by cgit