GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Run make all to reformat code automatically (#1215) · stacklok/codegate@ce37fa4

This repository was archived by the owner on Jun 5, 2025. It is now read-only.

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/codegate/pipeline
    • pii
      • analyzer.py
      • pii.py
    • sensitive_data
      • manager.py
      • session_store.py
  • tests
    • pipeline
      • pii
        • test_analyzer.py
      • sensitive_data
        • test_manager.py
        • test_session_store.py
    • test_server.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/codegate/pipeline/pii/analyzer.py‎

Copy file name to clipboardExpand all lines: src/codegate/pipeline/pii/analyzer.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
from typing import Any, List, Optional
1+
from typing import List, Optional
22

33
import structlog
44
from presidio_analyzer import AnalyzerEngine
55
from presidio_anonymizer import AnonymizerEngine
66

7-
from codegate.db.models import AlertSeverity
87
from codegate.pipeline.base import PipelineContext
98
from codegate.pipeline.sensitive_data.session_store import SessionStore
109

Collapse file

‎src/codegate/pipeline/pii/pii.py‎

Copy file name to clipboardExpand all lines: src/codegate/pipeline/pii/pii.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from typing import Any, Dict, List, Optional, Tuple
2-
import uuid
32

43
import regex as re
54
import structlog
Collapse file

‎src/codegate/pipeline/sensitive_data/manager.py‎

Copy file name to clipboardExpand all lines: src/codegate/pipeline/sensitive_data/manager.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import json
21
from typing import Dict, Optional
2+
33
import pydantic
44
import structlog
5+
56
from codegate.pipeline.sensitive_data.session_store import SessionStore
67

78
logger = structlog.get_logger("codegate")
Collapse file

‎src/codegate/pipeline/sensitive_data/session_store.py‎

Copy file name to clipboardExpand all lines: src/codegate/pipeline/sensitive_data/session_store.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from typing import Dict, Optional
21
import uuid
2+
from typing import Dict, Optional
33

44

55
class SessionStore:
Collapse file

‎tests/pipeline/pii/test_analyzer.py‎

Copy file name to clipboardExpand all lines: tests/pipeline/pii/test_analyzer.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from unittest.mock import MagicMock, patch
22

33
import pytest
4-
from presidio_analyzer import RecognizerResult
54

65
from codegate.pipeline.pii.analyzer import PiiAnalyzer
76

Collapse file

‎tests/pipeline/sensitive_data/test_manager.py‎

Copy file name to clipboardExpand all lines: tests/pipeline/sensitive_data/test_manager.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import json
21
from unittest.mock import MagicMock, patch
2+
33
import pytest
4+
45
from codegate.pipeline.sensitive_data.manager import SensitiveData, SensitiveDataManager
56
from codegate.pipeline.sensitive_data.session_store import SessionStore
67

Collapse file

‎tests/pipeline/sensitive_data/test_session_store.py‎

Copy file name to clipboardExpand all lines: tests/pipeline/sensitive_data/test_session_store.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import uuid
21
import pytest
2+
33
from codegate.pipeline.sensitive_data.session_store import SessionStore
44

55

Collapse file

‎tests/test_server.py‎

Copy file name to clipboardExpand all lines: tests/test_server.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from codegate import __version__
1616
from codegate.pipeline.factory import PipelineFactory
17-
from codegate.pipeline.sensitive_data.manager import SensitiveDataManager
1817
from codegate.providers.registry import ProviderRegistry
1918
from codegate.server import init_app
2019
from src.codegate.cli import UvicornServer, cli

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.