Skip to content

Commit

Permalink
Type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbemmel committed Dec 5, 2024
1 parent 2eba0da commit 2fc06bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netsim/modules/lag.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def create_peer_links(l: Box, topology: Box) -> bool:
"""
check_same_pair - Verifies that the given member connects the same pair of nodes as the first
"""
first_pair = []
first_pair : list[str] = []
def check_same_pair(member: Box) -> bool:
others = { n.node for n in member.interfaces if n.node not in first_pair }
if others:
Expand Down

0 comments on commit 2fc06bc

Please sign in to comment.