summaryrefslogtreecommitdiff
path: root/gr-fec/python
diff options
context:
space:
mode:
authorJosh Morman <jmorman@perspectalabs.com>2021-02-15 10:42:16 -0500
committerMartin Braun <martin@gnuradio.org>2021-02-18 12:48:11 -0800
commit4e48bc34a30f6671197294c99a259f1fcbc0bf8f (patch)
treef50f060e31bb92181145c87f44e15961c3b9a434 /gr-fec/python
parent80d96134f29bd90eaa9df62989365d095bbfc302 (diff)
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>
Diffstat (limited to 'gr-fec/python')
-rw-r--r--gr-fec/python/fec/bindings/decoder_python.cc7
-rw-r--r--gr-fec/python/fec/bindings/encoder_python.cc7
2 files changed, 0 insertions, 14 deletions
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))
-
;
}