- ec1 = sc.create_event_class(name='with_enum', payload_field_class=struct_fc)
- self._add_output_port('out', (tc, sc, ec1, params))
+ ec1 = sc.create_event_class(name="with_enum", payload_field_class=struct_fc)
+ self._add_output_port("out", (tc, sc, ec1, params))