23 #include "pybind11/pybind11.h"
29 using namespace pybind11::literals;
36 py::class_<DefaultPolicyFile, std::shared_ptr<DefaultPolicyFile>,
PolicyFile>
cls(mod,
39 cls.def(py::init<const char* const, const std::string&, const std::string&, bool>(),
"productName"_a,
40 "filepath"_a,
"repos"_a =
"",
"strict"_a =
true);
42 cls.def(
"load", &DefaultPolicyFile::load);
43 cls.def(
"getRepositoryPath",