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

Function test_call_options_repr

python/pyarrow/tests/test_flight.py:2813–2823  ·  view source on GitHub ↗
(call_options_args)

Source from the content-addressed store, hash-verified

2811@pytest.mark.parametrize(
2812 "call_options_args", ["default", "all"], indirect=True)
2813def test_call_options_repr(call_options_args):
2814 # https://github.com/apache/arrow/issues/47358
2815 call_options = FlightCallOptions(**call_options_args)
2816 repr = call_options.__repr__()
2817
2818 for arg, val in call_options_args.items():
2819 if val is None:
2820 assert arg in repr
2821 continue
2822
2823 assert f"{arg}={val}" in repr

Callers

nothing calls this directly

Calls 2

FlightCallOptionsClass · 0.90
__repr__Method · 0.45

Tested by

no test coverage detected