lsst.afw
20.0.0-18-gcabc0c9fd+109ac6652c
|
Functions | |
template<typename Class , typename... Args> | |
void | addPersistableMethods (pybind11::class_< Class, Args... > &cls) |
Add table::io::Persistable and PersistableFacade methods to the pybind11 wrapper for a class. More... | |
void lsst::afw::table::io::python::addPersistableMethods | ( | pybind11::class_< Class, Args... > & | cls | ) |
Add table::io::Persistable and PersistableFacade methods to the pybind11 wrapper for a class.
This allows your class to be used without importing lsst.afw.table in Python.
Use as follows: