(v: T)
| 33 | |
| 34 | |
| 35 | def _decrypt_val(v: T) -> T: |
| 36 | if isinstance(v, str): |
| 37 | return FERNET.decrypt(v).decode() # type: ignore |
| 38 | if isinstance(v, list): |
| 39 | return _decrypt_list(v) # type: ignore |
| 40 | if isinstance(v, dict): |
| 41 | return _decrypt_dict(v) # type: ignore |
| 42 | |
| 43 | return v |
| 44 | |
| 45 | |
| 46 | def _decrypt_list(data: list) -> list: |
no test coverage detected