MCPcopy Create free account
hub / github.com/TuGraph-family/tugraph-db / FieldDataVectorToPyList

Function FieldDataVectorToPyList

src/python/python_api.cpp:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122inline pybind11::list FieldDataVectorToPyList(const std::vector<FieldData>& v) {
123 pybind11::list l;
124 for (auto& f : v) l.append(FieldDataToPyObj(f));
125 return l;
126}
127
128inline pybind11::dict FieldDataMapToPyDict(const std::map<std::string, FieldData>& data) {
129 pybind11::dict d;

Callers 1

register_python_apiFunction · 0.85

Calls 1

FieldDataToPyObjFunction · 0.85

Tested by

no test coverage detected