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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 23 Jul 2019 13:07:19 +0000 (09:07 -0400)
commitcd1ef6f2860c2b6bf3c22ee984347029c31ac827
treee4fb51ccbc971fdb2679d8e7fd183cdbfb036514
parentd14a864ace9bc0a891c17a14a508160165a7d30e
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.024139 seconds and 4 git commands to generate.