(files: ty.Union[utils.clean_file_t, ty.Iterable[utils.clean_file_t]], *,
                 chunk_size: int = default_chunk_size)
return stream.body(), stream.headers()
Gets a buffered generator for streaming files.
	
	Returns a buffered generator which encodes a file or list of files as
	:mimetype:`multipart/form-data` with the corresponding headers.
	
	Parameters
	----------
	files
		The file(s) to stream
	chunk_size
		Maximum size of each stream chunk
Gets a buffered generator for streaming files.
	
	Returns a buffered generator which encodes a file or list of files as
	:mimetype:`multipart/form-data` with the corresponding headers.
	
	Parameters
	----------
	files
		The file(s) to stream
	chunk_size
		Maximum size of each stream chunk
Gets a buffered generator for streaming files . Returns a buffered generator which encodes a file or list of files as : mimetype : multipart / form - data with the corresponding headers . Parameters ---------- files The file ( s ) to stream chunk_size Maximum size of each stream chunk
def stream_files(files: ty.Union[utils.clean_file_t, ty.Iterable[utils.clean_file_t]], *,
                 chunk_size: int = default_chunk_size) -> ty.Tuple[gen_bytes_t, ty.Dict[str, str]]:
	"""Gets a buffered generator for streaming files.
	
	Returns a buffered generator which encodes a file or list of files as
	:mimetype:`multipart/form-data` with the corresponding headers.
	
	Parameters
	----------
	files
		The file(s) to stream
	chunk_size
		Maximum size of each stream chunk
	"""
	stream = FilesStream(files, chunk_size=chunk_size)
	return stream.body(), stream.headers()
def stream_files ( files : ty . Union [ utils . clean_file_t , ty . Iterable [ utils . clean_file_t ] ] , * , chunk_size : int = default_chunk_size ) -> ty . Tuple [ gen_bytes_t , ty . Dict [ str , str ] ] : stream = FilesStream ( files , chunk_size = chunk_size ) return stream . body ( ) , stream . headers ( )