blob: cde24d1c7ff5eddb76ec68b210b5488ebdef7d2e [file] [log] [blame]
Václav Kubernát654303f2020-07-31 13:16:54 +02001/*
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
11using namespace pybind11::literals;
12
Václav Kubernátb4e5b182020-11-16 19:55:09 +010013PYBIND11_MODULE(sysrepo_subscription_py, m)
14{
Václav Kubernát654303f2020-07-31 13:16:54 +020015 m.doc() = "SysrepoSubscription Python interface";
16
17 pybind11::class_<SysrepoSubscription>(m, "SysrepoSubscription")
Václav Kubernátb4e5b182020-11-16 19:55:09 +010018 .def(pybind11::init<const std::string&>(), "moduleName"_a);
Václav Kubernát654303f2020-07-31 13:16:54 +020019}