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>
---
 gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc | 7 -------
 1 file changed, 7 deletions(-)

(limited to 'gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc')

diff --git a/gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc b/gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc
index 1b5f3c00be..7a8d81de5f 100644
--- a/gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc
+++ b/gnuradio-runtime/python/gnuradio/gr/bindings/sync_block_python.cc
@@ -45,13 +45,6 @@ void bind_sync_block(py::module& m)
              D(sync_block, work))
 
 
-        .def("forecast",
-             &sync_block::forecast,
-             py::arg("noutput_items"),
-             py::arg("ninput_items_required"),
-             D(sync_block, forecast))
-
-
         .def("general_work",
              &sync_block::general_work,
              py::arg("noutput_items"),
-- 
cgit v1.2.3