bt2: do not require sink component's _graph_is_configured() method
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 22 Jul 2019 17:45:22 +0000 (13:45 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:05:19 +0000 (14:05 -0400)
commitf0c6b5d572fcf303bc728fc00557b8b7239886f2
tree422bdeaec2d6582f875eaa694deb64a2afcbaa1d
parentf284924311d5a7b59d43e5f877a71603efb6092b
bt2: do not require sink component's _graph_is_configured() method

The "graph is configured" method is not required when you implement a
component class in C, as it's not strictly needed to make the graph
runnable, so it should not be required in Python either.

A default _UserSinkComponent._graph_is_configured() method is added to
make it optional.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I3ef4e3d159af61e2d06a0a47dddc1234aed93ae1
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1740
Tested-by: jenkins <jenkins@lttng.org>
src/bindings/python/bt2/bt2/component.py
This page took 0.038058 seconds and 4 git commands to generate.