Skip to content

Commit

Permalink
Merge pull request #29 from sahajsoft/vault
Browse files Browse the repository at this point in the history
Move vault to its own library
  • Loading branch information
akshaykarle authored Oct 14, 2024
2 parents a75efc1 + 32f5923 commit ef60f43
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 298 deletions.
56 changes: 47 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ presidio-anonymizer = "^2.2.354"
presidio-analyzer = {version = "^2.2.354", extras = ["transformers", "stanza"]}
pytest = "^8.2.1"
flask = "^3.0.3"
hvac = "^2.3.0"
black = "^24.8.0"
presidio-vault = "^0.1.0"


[build-system]
Expand Down
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from presidio_analyzer import AnalyzerEngine, DictAnalyzerResult, RecognizerResult
from presidio_anonymizer import AnonymizerEngine, BatchAnonymizerEngine
from config.nlp_engine_config import FlairNLPEngine
from operators.vault import Vault
from presidio_vault.vault import Vault

DEFAULT_PORT = "3000"
NLP_ENGINE = "flair/ner-english-large"
Expand Down
2 changes: 1 addition & 1 deletion src/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from analyzer_engine.csv_analyzer_engine import CSVAnalyzerEngine
from presidio_anonymizer import AnonymizerEngine, BatchAnonymizerEngine
from config.nlp_engine_config import FlairNLPEngine
from operators.vault import Vault
from presidio_vault.vault import Vault
import sys
import logging

Expand Down
Empty file removed src/operators/__init__.py
Empty file.
140 changes: 0 additions & 140 deletions src/operators/vault.py

This file was deleted.

Loading

0 comments on commit ef60f43

Please sign in to comment.