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