Skip to content
Snippets Groups Projects
Commit 5fe5e715 authored by Ivar Härnqvist's avatar Ivar Härnqvist
Browse files

add missing return type annotation for __str__ in SFG

parent 356caa76
No related branches found
No related tags found
4 merge requests!31Resolve "Specify internal input/output dependencies of an Operation",!25Resolve "System tests iteration 1",!24Resolve "System tests iteration 1",!23Resolve "Simulate SFG"
Pipeline #13105 passed
This commit is part of merge request !23. Comments created here will be created in the context of that merge request.
......@@ -156,7 +156,7 @@ class SFG(AbstractOperation):
if signal.source.operation not in self._original_components_to_new:
self._add_operation_connected_tree_copy(signal.source.operation)
def __str__(self):
def __str__(self) -> str:
"""Get a string representation of this SFG."""
output_string = ""
for component in self._components_ordered:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment