(cls, obj: Any, salt: bytes = b"")
| 67 | class EncryptedObject(EncryptedString): |
| 68 | @classmethod |
| 69 | def from_object(cls, obj: Any, salt: bytes = b""): |
| 70 | return super().from_plain_text(pickle.dumps(obj), salt) |
| 71 | |
| 72 | def decrypt(self) -> Any: |
| 73 | return pickle.loads(self._fernet.decrypt(self.cipher)) |
nothing calls this directly
no test coverage detected