Skip to main content

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

NameTypeDescription
data_iterable`typing.AsyncIterable[bytes]bytes`
name`strNone` = None
to_path`strNone` = None
kwargsAnyAdditional arguments to be passed to the underlying filesystem.

Returns

TypeDescription
strThe path to the remote location where the data was stored.