(key: str, body: str, context: StoreContext | None = None)
| 292 | return result |
| 293 | |
| 294 | async def put_data(key: str, body: str, context: StoreContext | None = None) -> None: |
| 295 | # Opaque storage: persist the client ciphertext as-is. The node never |
| 296 | # decrypts these collections — wallet-key decryption happens entirely on |
| 297 | # the client. |
| 298 | ciphertext = _unwrap_stored_document_data(body) |
| 299 | await _get_opaque_store().put(key, ciphertext, content_type="application/json") |
| 300 | |
| 301 | def set_data_callbacks( |
| 302 | get_data: Callable[[str, StoreContext | None], Awaitable[str | None]], |
nothing calls this directly
no test coverage detected