put_stream
Put a stream of data to a remote location. This is useful for streaming data to a remote location.
async def put_stream(
data_iterable: typing.AsyncIterable[bytes] | bytes, *, name: str | None = None, to_path: str | None = None, **kwargs
) -> str: ...
Put a stream of data to a remote location. This is useful for streaming data to a remote location.
Parameters
| Name | Type | Description |
|---|---|---|
| data_iterable | `typing.AsyncIterable[bytes] | bytes` |
| name | `str | None` = None |
| to_path | `str | None` = None |
| kwargs | dict | Additional arguments to be passed to the underlying filesystem. |
Returns
| Type | Description |
|---|---|
str | The path to the remote location where the data was stored. |