Skip to content

Commit

Permalink
debug linting
Browse files Browse the repository at this point in the history
  • Loading branch information
seshubaws committed Jan 29, 2024
1 parent 5251e0c commit 284d340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions aws_lambda_powertools/utilities/data_masking/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ def _apply_action_to_fields(
new_dict = {'a': {'b': {'c': 'transformed_value'}}, 'x': {'y': 'transformed_value'}}
```
"""
logger.debug('IN APPLY ACTION TO FIELDS!!')

data_parsed: dict = self._normalize_data_to_parse(fields, data)

Expand Down
1 change: 1 addition & 0 deletions tests/unit/data_masking/test_unit_data_masking.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def test_mask_dict_with_fields(data_masker):
}

# WHEN mask is called with a list of fields specified
# masked_string = data_masker.erase(data, fields=["a.'1'.None", "a..'4'"])
masked_string = data_masker.erase(data, fields=["a.'1'.None", "a..'4'"])

# THEN the result is only the specified fields are masked
Expand Down

0 comments on commit 284d340

Please sign in to comment.