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

Function pyInstanceTypeStr

bolt/python/Utils.cpp:114–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114std::string pyInstanceTypeStr(const pybind11::object& obj) {
115 return pyTry<std::string>([&]() { return pyTypeStr(obj.attr("__class__")); });
116}
117
118std::string toString(const pybind11::object& obj) {
119 return pyTry<std::string>(

Callers 3

accumulateFunction · 0.85
reduceFunction · 0.85
setValueAtFunction · 0.85

Calls 1

pyTypeStrFunction · 0.85

Tested by

no test coverage detected