MCPcopy Create free account
hub / github.com/bytedance/bolt / accumulate

Function accumulate

bolt/python/Aggregate.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void accumulate(pybind11::object& lhs, pybind11::object rhs) {
57 bolt::python::pyTry<void>(
58 [&]() { lhs.attr("accumulate")(rhs); },
59 [&]() {
60 return fmt::format(
61 "Failure during call to 'accumulate()' method between: '{}' and: '{}'.",
62 bolt::python::pyInstanceTypeStr(lhs),
63 bolt::python::pyInstanceTypeStr(rhs));
64 });
65}
66
67pybind11::object reduce(pybind11::object& accumulator) {
68 return bolt::python::pyTry<pybind11::object>(

Callers 15

addRawInputMethod · 0.85
appendMethod · 0.85
TEST_FFunction · 0.85
TypedColumnIndexImplMethod · 0.85
vreadMethod · 0.85
finalizeMetricsMethod · 0.85
rawPartitionBytesMethod · 0.85
concatBufferMethod · 0.85

Calls 1

pyInstanceTypeStrFunction · 0.85

Tested by 9

TEST_FFunction · 0.68
verifyUniqueIdMethod · 0.68
TESTFunction · 0.68
arraySumMethod · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68