generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 454
Closed
Labels
bugSomething isn't workingSomething isn't workingtriagePending triage from maintainersPending triage from maintainers
Description
Expected Behaviour
Usage of the DataMasking tool is working without import error.
Current Behaviour
The following error occurred:
ModuleNotFoundError: No module named 'jsonpath_ng'
Code snippet
from aws_lambda_powertools.utilities.data_masking import DataMasking
data_masker = DataMasking()
data = {'password': 'secret!', 'login': 'login1'}
erased = data_masker.erase(data, fields=["password"])
print(erased)
Possible Solution
Add jsonpath_ng
to the package dependencies
Steps to Reproduce
- install powertools version 3.3.0
- run the example script
Powertools for AWS Lambda (Python) version
3.3.0
AWS Lambda function runtime
3.12
Packaging format used
PyPi
Debugging logs
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriagePending triage from maintainersPending triage from maintainers
Type
Projects
Status
Closed