MCPcopy Create free account
hub / github.com/alibaba/zvec / Initialize

Method Initialize

src/binding/python/model/schema/python_schema.cc:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace zvec {
21
22void ZVecPySchemas::Initialize(pybind11::module_ &parent) {
23 auto m =
24 parent.def_submodule("schema", "This module contains the schema of Zvec");
25
26 bind_field_schema(m);
27 bind_collection_schema(m);
28 bind_collection_stats(m);
29}
30
31void ZVecPySchemas::bind_field_schema(py::module_ &m) {
32 py::class_<FieldSchema, FieldSchema::Ptr>(m, "_FieldSchema")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected