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

Function call_options_args

python/pyarrow/tests/test_flight.py:2827–2846  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

2825
2826@pytest.fixture
2827def call_options_args(request):
2828 if request.param == "default":
2829 return {
2830 "timeout": 3,
2831 "headers": None,
2832 "write_options": None,
2833 "read_options": None,
2834 }
2835 elif request.param == "all":
2836 return {
2837 "timeout": 7,
2838 "headers": [(b"abc", b"def")],
2839 "write_options": pa.ipc.IpcWriteOptions(compression="zstd"),
2840 "read_options": pa.ipc.IpcReadOptions(
2841 use_threads=False,
2842 ensure_alignment=pa.ipc.Alignment.DataTypeSpecific,
2843 ),
2844 }
2845 else:
2846 return {}
2847
2848
2849@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected