bt2: move _bt_graph_is_configured_from_native() to `_UserSinkComponent`
[babeltrace.git] / src / bindings / python / bt2 / bt2 / component.py
index ef86bbcf50f1f42028e4789208e6222c6e90601b..d7d42a71bf1447e1b2a46e07022d22268c8feebd 100644 (file)
@@ -679,9 +679,6 @@ class _UserComponent(metaclass=_UserComponentType):
         )
         self._port_connected(port, other_port)
 
-    def _bt_graph_is_configured_from_native(self):
-        self._graph_is_configured()
-
     def _create_trace_class(self, assigns_automatic_stream_class_id=True):
         ptr = self._bt_as_self_component_ptr(self._bt_ptr)
         tc_ptr = native_bt.trace_class_create(ptr)
@@ -833,6 +830,9 @@ class _UserSinkComponent(_UserComponent, _SinkComponent):
         native_bt.self_component_sink_as_self_component
     )
 
+    def _bt_graph_is_configured_from_native(self):
+        self._graph_is_configured()
+
     @property
     def _input_ports(self):
         def get_input_port_count(self_ptr):
This page took 0.024287 seconds and 4 git commands to generate.