Returns (data, etag). (None, None) if the object does not exist.
(key: str)
| 122 | |
| 123 | |
| 124 | async def get_json(key: str) -> Tuple[Optional[dict], Optional[str]]: |
| 125 | """Returns (data, etag). (None, None) if the object does not exist.""" |
| 126 | return await asyncio.to_thread(_get_json_sync, key) |
| 127 | |
| 128 | |
| 129 | async def put_json( |