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

Function test_call_options_repr

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

Source from the content-addressed store, hash-verified

2849@pytest.mark.parametrize(
2850 "call_options_args", ["default", "all"], indirect=True)
2851def test_call_options_repr(call_options_args):
2852 # https://github.com/apache/arrow/issues/47358
2853 call_options = FlightCallOptions(**call_options_args)
2854 repr = call_options.__repr__()
2855
2856 for arg, val in call_options_args.items():
2857 if val is None:
2858 assert arg in repr
2859 continue
2860
2861 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