lib: pass config objects to component init methods
[babeltrace.git] / tests / data / cli / params / bt_plugin_params.py
index 4d750137d3f6371732a9b21897cd088106a9633d..6b60889645a624b150c8067dbc134d08b97deffb 100644 (file)
@@ -40,7 +40,7 @@ def to_string(p):
 
 @bt2.plugin_component_class
 class SinkThatPrintsParams(bt2._UserSinkComponent):
-    def __init__(self, params, obj):
+    def __init__(self, config, params, obj):
         self._add_input_port('in')
         print(to_string(params))
 
This page took 0.025509 seconds and 4 git commands to generate.