Skip to content

Commit d030e3f

Browse files
committed
add no_spilling doc string
1 parent 414bdb0 commit d030e3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sdks/python/apache_beam/yaml/yaml_io.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,10 @@ def write_to_tfrecord(
629629
set to 1 and only one file will be generated. The default pattern used
630630
is '-SSSSS-of-NNNNN' if None is passed as the shard_name_template.
631631
compression_type: Used to handle compressed output files. Typical value
632-
is CompressionTypes.AUTO, in which case the file_path's extension will
633-
be used to detect the compression.
632+
is CompressionTypes.AUTO, in which case the file_path's extension will
633+
be used to detect the compression.
634+
no_splling: Used to skip the spilling of data caused by having
635+
maxNumWritersPerBundle.
634636
635637
Returns:
636638
A WriteToTFRecord transform object.

0 commit comments

Comments
 (0)