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

Function initAggregator

bolt/python/Aggregate.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77pybind11::object initAggregator(pybind11::object& cls) {
78 return bolt::python::pyTry<pybind11::object>(
79 [&]() { return cls(); },
80 [&]() {
81 return fmt::format(
82 "Failure during call to '{}' python class constructor.",
83 bolt::python::pyTypeStr(cls));
84 });
85}
86
87pybind11::object aggregate(pybind11::object& cls, pybind11::list columns) {
88 return bolt::python::pyTry<pybind11::object>(

Callers 1

initializeNewGroupsMethod · 0.85

Calls 1

pyTypeStrFunction · 0.85

Tested by

no test coverage detected