-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: WriteToFiles(output_fn=...) is seemingly unused #30009
Comments
agreed, appears to be never used. We could clean it up and force keyword-only arguments after it. It could be a breaking change for some users, so could also not touch it and add a note that it's unused and leftover for backward compatibiltiy. |
.take-issue |
@ima-attac-helikoptaaa are you still working on it? |
To sum up we shouldn't change it ? |
we can still make the clarification in the code that it is unused. Removing is fine too as long as we force keyword-only args. |
should we add a note on the docstring so that it is visible for the caller |
.take-issue EDIT: |
What happened?
There's a ctor argument output_fn to WriteToFiles that isn't used other than setting a member variable that is never read:
beam/sdks/python/apache_beam/io/fileio.py
Line 542 in 0d58d23
Issue Priority
Priority: 3 (minor)
Issue Components
The text was updated successfully, but these errors were encountered: