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
| 101 | |
| 102 | |
| 103 | class 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 | |
| 126 | class SensitiveConfig: |