pitrou commented on code in PR #12800:
URL: https://github.com/apache/arrow/pull/12800#discussion_r849312668
##########
python/pyarrow/ipc.py:
##########
@@ -39,10 +39,17 @@ class RecordBatchStreamReader(lib._RecordBatchStreamReader):
----------
source : bytes/buffer-like, pyarrow.NativeFile, or file-like Python object
Either an in-memory buffer, or a readable file object.
+ options : pyarrow.ipc.IpcReadOptions
+ Options for IPC serialization.
+
+ If None, default values will be used.
+ memory_pool : MemoryPool, default None
+ Uses default memory pool if not specified.
"""
- def __init__(self, source):
- self._open(source)
+ def __init__(self, source, *, options=None, memory_pool=None):
Review Comment:
Ok, that's a reasonable argument.
--
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]