(options)
| 143 | |
| 144 | |
| 145 | def _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 | |
| 151 | def new_stream(sink, schema, *, options=None): |
no test coverage detected