| 75 | } |
| 76 | |
| 77 | pybind11::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 | |
| 87 | pybind11::object aggregate(pybind11::object& cls, pybind11::list columns) { |
| 88 | return bolt::python::pyTry<pybind11::object>( |
no test coverage detected