module documentation
Amazon S3 storage driver for Temporal external storage.
Warning
This API is experimental.
| Function | _format |
Format the client's describe() output as ", k=v, k=v" for error messages. Returns an empty string when the client reports no metadata or describe itself raises (diagnostic output must never mask the real error). |
| Async Function | _gather |
Run coroutines concurrently, cancelling all remaining tasks if one fails. |
| Function | _percent |
Percent-encode a path segment per the S3 key spec. |
| Constant | _S3 |
Undocumented |
| Type Variable | _T |
Undocumented |
Format the client's describe() output as ", k=v, k=v" for error messages. Returns an empty string when the client reports no metadata or describe itself raises (diagnostic output must never mask the real error).
async def _gather_with_cancellation(coros:
Sequence[ Coroutine[ Any, Any, _T]]) -> list[ _T]:
(source)
¶
Run coroutines concurrently, cancelling all remaining tasks if one fails.
Percent-encode a path segment per the S3 key spec.
Encodes every byte outside _S3_SAFE_CHARS as %XX with
upper-case hex digits, operating on the UTF-8 bytes so non-ASCII
characters are escaped byte by byte. Returns None for empty or
missing values so callers can substitute "null".