MCPcopy Create free account
hub / github.com/cmu-db/benchbase / SensitiveEntry

Class SensitiveEntry

scripts/anonymization/src/configuration/configurations.py:103–123  ·  view source on GitHub ↗

A class to represent a sensitive column entry Attributes ---------- name : str Name of the column method : str Faking method locales : list[str] List of locales seed : str Randomization seed

Source from the content-addressed store, hash-verified

101
102
103class SensitiveEntry:
104 """A class to represent a sensitive column entry
105
106 Attributes
107 ----------
108 name : str
109 Name of the column
110 method : str
111 Faking method
112 locales : list[str]
113 List of locales
114 seed : str
115 Randomization seed
116
117 """
118
119 def __init__(self, name: str, method: str, locales: list[str], seed: str):
120 self.name = name
121 self.method = method
122 self.locales = locales
123 self.seed = seed
124
125
126class SensitiveConfig:

Callers 1

get_configMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected