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

Method do_action

python/pyarrow/tests/test_flight.py:2555–2561  ·  view source on GitHub ↗
(self, context, action)

Source from the content-addressed store, hash-verified

2553 VALUES = []
2554
2555 def do_action(self, context, action):
2556 if action.type == "get_value":
2557 return [json.dumps(self.VALUES).encode('utf-8')]
2558 elif action.type == "append":
2559 self.VALUES.append(True)
2560 return None
2561 raise NotImplementedError
2562
2563
2564def test_none_action_side_effect():

Callers

nothing calls this directly

Calls 3

dumpsMethod · 0.80
encodeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected