adrien-grl commented on code in PR #51631:
URL: https://github.com/apache/arrow/pull/51631#discussion_r4442923835
##########
python/pyarrow/io.pxi:
##########
@@ -193,6 +193,20 @@ cdef class NativeFile(_Weakrefable):
else:
check_status(self.output_stream.get().Close())
+ def abort(self):
+ """
+ Close the stream, discarding written data if the stream supports it.
Review Comment:
I updated the docstring. I hope it is better now!
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]