Skip to content

refactor: deprecate root PII scrubber#191

Open
huazhuang80-star wants to merge 1 commit into
ChainForgee:mainfrom
huazhuang80-star:deprecate-root-scrubber-112
Open

refactor: deprecate root PII scrubber#191
huazhuang80-star wants to merge 1 commit into
ChainForgee:mainfrom
huazhuang80-star:deprecate-root-scrubber-112

Conversation

@huazhuang80-star

Copy link
Copy Markdown

Closes #112.

Summary

  • remove the legacy regex-only scrub_pii implementation from the root scrubber.py
  • leave the root module as a deprecation notice pointing to app/ai-service/services/pii_scrubber.py
  • update the root PII scrubber test to assert the legacy function is gone and the canonical PIIScrubberService.anonymize implementation remains present

Testing

  • python -m pytest tests\test_pii_scrubber.py -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LOW] Deprecate and remove root scrubber.py in favor of AI service implementation

1 participant