Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
anonymizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
anonymizer
Merge requests
!10
Anonimizer v2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Anonimizer v2
develop
into
master
Overview
0
Commits
36
Pipelines
8
Changes
16
Merged
Anonimizer v2
Michał Pogoda
requested to merge
develop
into
master
Apr 6, 2023
Overview
0
Commits
36
Pipelines
8
Changes
16
0
0
Merge request reports
Viewing commit
039a1d8a
Prev
Next
Show latest version
16 files
+
57
−
30
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
16
039a1d8a
unit testing
· 039a1d8a
Michał Pogoda
authored
Jun 19, 2023
src/detections/__init__.py
+
1
−
3
View file @ 039a1d8a
Edit in single-file editor
Open in Web IDE
Show full file
from
src.detections.date
import
DateDetection
from
src.detections.detection
import
(
Detection
,
DetectionType
,
CityDetection
,
CountryDetection
,
EmailDetection
,
@@ -23,7 +22,7 @@ from src.detections.detection import (
UrlDetection
,
UserDetection
,
)
from
src.utils.
subclasse
s
import
get_sublcasses
from
src.utils.
util
s
import
get_sublcasses
DETECTION_CLASSES_MAP
=
{
detection_class
.
TYPE_NAME
:
detection_class
@@ -32,7 +31,6 @@ DETECTION_CLASSES_MAP = {
__all__
=
[
"
Detection
"
,
"
DetectionType
"
,
"
CityDetection
"
,
"
CountryDetection
"
,
"
EmailDetection
"
,
Loading