Apply black code formatter on all Python code
[babeltrace.git] / src / bindings / python / bt2 / bt2 / port.py
index 4ba59f066df4c230e4b3ef92389f1ae7b50ad102..1d649b35d72f4a6ec8a15a871cfec5400e8e5185 100644 (file)
@@ -110,10 +110,14 @@ class _UserComponentPort(_Port):
 
 
 class _UserComponentInputPort(_UserComponentPort, _InputPort):
-    _as_self_port_ptr = staticmethod(native_bt.self_component_port_input_as_self_component_port)
+    _as_self_port_ptr = staticmethod(
+        native_bt.self_component_port_input_as_self_component_port
+    )
 
     def create_message_iterator(self):
-        msg_iter_ptr = native_bt.self_component_port_input_message_iterator_create(self._ptr)
+        msg_iter_ptr = native_bt.self_component_port_input_message_iterator_create(
+            self._ptr
+        )
         if msg_iter_ptr is None:
             raise bt2.CreationError('cannot create message iterator object')
 
@@ -121,7 +125,9 @@ class _UserComponentInputPort(_UserComponentPort, _InputPort):
 
 
 class _UserComponentOutputPort(_UserComponentPort, _OutputPort):
-    _as_self_port_ptr = staticmethod(native_bt.self_component_port_output_as_self_component_port)
+    _as_self_port_ptr = staticmethod(
+        native_bt.self_component_port_output_as_self_component_port
+    )
 
 
 _PORT_TYPE_TO_PYCLS = {
This page took 0.024301 seconds and 4 git commands to generate.