kennknowles commented on a change in pull request #14374:
URL: https://github.com/apache/beam/pull/14374#discussion_r604320333
##########
File path: sdks/python/apache_beam/dataframe/io.py
##########
@@ -521,7 +521,7 @@ def expand(self, pcoll):
return pcoll | fileio.WriteToFiles(
path=dir,
file_naming=fileio.default_file_naming(name),
- sink=_WriteToPandasFileSink(
+ sink=lambda _: _WriteToPandasFileSink(
Review comment:
Based on the ease of making this mistake, is the `WriteToFiles` API a
hazard to other contributors and users?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]