| 17 | namespace zvec { |
| 18 | |
| 19 | void ZVecPyTyping::Initialize(pybind11::module_ &parent) { |
| 20 | auto m = parent.def_submodule( |
| 21 | "typing", "This module contains the basic data types of Zvec"); |
| 22 | // binding base types |
| 23 | bind_datatypes(m); |
| 24 | bind_index_types(m); |
| 25 | bind_metric_types(m); |
| 26 | bind_quantize_types(m); |
| 27 | bind_io_backend_types(m); |
| 28 | bind_status(m); |
| 29 | } |
| 30 | |
| 31 | void ZVecPyTyping::bind_datatypes(pybind11::module_ &m) { |
| 32 | py::enum_<DataType>(m, "DataType", R"pbdoc( |
nothing calls this directly
no outgoing calls
no test coverage detected