Václav Kubernát | 654303f | 2020-07-31 13:16:54 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2020 CESNET, https://photonics.cesnet.cz/ |
| 3 | * |
| 4 | * Written by Václav Kubernát <kubernat@cesnet.cz> |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #include <pybind11/pybind11.h> |
| 9 | #include "sysrepo_subscription.hpp" |
| 10 | |
| 11 | using namespace pybind11::literals; |
| 12 | |
| 13 | PYBIND11_MODULE(sysrepo_subscription_py, m) { |
| 14 | m.doc() = "SysrepoSubscription Python interface"; |
| 15 | |
| 16 | pybind11::class_<SysrepoSubscription>(m, "SysrepoSubscription") |
| 17 | .def(pybind11::init<const std::string&>(), "moduleName"_a); |
| 18 | } |