Skip to content

Commit

Permalink
return_narrowing
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Nov 29, 2023
1 parent 08c5a5b commit 4e3d55c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, identifier: str, pre_vertex: ApplicationVertex):
pre_vertex=pre_vertex, identifier=identifier,
allowed_edge_types=ApplicationEdge)

@overrides(AbstractSingleSourcePartition.add_edge)
@overrides(AbstractSingleSourcePartition.add_edge, return_narrowing=True)
def add_edge(self, edge: ApplicationEdge):
super().add_edge(edge)
edge.post_vertex.add_incoming_edge(edge, self)

0 comments on commit 4e3d55c

Please sign in to comment.