Skip to content

Commit a19bca9

Browse files
authored
Fix Minor Issue Proxy Python Interface (#685)
1 parent 1bf4e8c commit a19bca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/csrc/port_channel_py.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ using namespace mscclpp;
1212

1313
void register_port_channel(nb::module_& m) {
1414
nb::class_<BaseProxyService>(m, "BaseProxyService")
15-
.def("start_proxy", &BaseProxyService::startProxy)
15+
.def("start_proxy", &BaseProxyService::startProxy, nb::arg("blocking") = false)
1616
.def("stop_proxy", &BaseProxyService::stopProxy);
1717

1818
nb::class_<ProxyService, BaseProxyService>(m, "ProxyService")
1919
.def(nb::init<int>(), nb::arg("fifo_size") = DEFAULT_FIFO_SIZE)
20-
.def("start_proxy", &ProxyService::startProxy)
20+
.def("start_proxy", &ProxyService::startProxy, nb::arg("blocking") = false)
2121
.def("stop_proxy", &ProxyService::stopProxy)
2222
.def("build_and_add_semaphore", &ProxyService::buildAndAddSemaphore, nb::arg("comm"), nb::arg("connection"))
2323
.def("add_semaphore", static_cast<SemaphoreId (ProxyService::*)(const Semaphore&)>(&ProxyService::addSemaphore),

0 commit comments

Comments
 (0)