MCPcopy Create free account
hub / github.com/apache/arrow / _ensure_default_ipc_read_options

Function _ensure_default_ipc_read_options

python/pyarrow/ipc.py:145–148  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

143
144
145def _ensure_default_ipc_read_options(options):
146 if options and not isinstance(options, IpcReadOptions):
147 raise TypeError(f"expected IpcReadOptions, got {type(options)}")
148 return options or IpcReadOptions()
149
150
151def new_stream(sink, schema, *, options=None):

Callers 2

__init__Method · 0.85
__init__Method · 0.85

Calls 3

IpcReadOptionsClass · 0.85
TypeErrorFunction · 0.50
typeEnum · 0.50

Tested by

no test coverage detected