From 4e48bc34a30f6671197294c99a259f1fcbc0bf8f Mon Sep 17 00:00:00 2001 From: Josh Morman <jmorman@perspectalabs.com> Date: Mon, 15 Feb 2021 10:42:16 -0500 Subject: pybind: remove forecast from python bindings There is no scenario that a block or app should be calling forecast over the python interface. This is only called by the scheduler, and for python blocks would pass through the gateway interface. Signed-off-by: Josh Morman <jmorman@perspectalabs.com> --- gr-fec/python/fec/bindings/decoder_python.cc | 7 ------- gr-fec/python/fec/bindings/encoder_python.cc | 7 ------- 2 files changed, 14 deletions(-) (limited to 'gr-fec/python') diff --git a/gr-fec/python/fec/bindings/decoder_python.cc b/gr-fec/python/fec/bindings/decoder_python.cc index 4a6e5b6a2b..4eda9cb0d6 100644 --- a/gr-fec/python/fec/bindings/decoder_python.cc +++ b/gr-fec/python/fec/bindings/decoder_python.cc @@ -63,12 +63,5 @@ void bind_decoder(py::module& m) py::arg("noutput"), D(decoder, fixed_rate_noutput_to_ninput)) - - .def("forecast", - &decoder::forecast, - py::arg("noutput_items"), - py::arg("ninput_items_required"), - D(decoder, forecast)) - ; } diff --git a/gr-fec/python/fec/bindings/encoder_python.cc b/gr-fec/python/fec/bindings/encoder_python.cc index e73375551c..05c6ceea5e 100644 --- a/gr-fec/python/fec/bindings/encoder_python.cc +++ b/gr-fec/python/fec/bindings/encoder_python.cc @@ -63,12 +63,5 @@ void bind_encoder(py::module& m) py::arg("noutput"), D(encoder, fixed_rate_noutput_to_ninput)) - - .def("forecast", - &encoder::forecast, - py::arg("noutput_items"), - py::arg("ninput_items_required"), - D(encoder, forecast)) - ; } -- cgit v1.2.3