Update type annotation

This commit is contained in:
Pradyun Gedam 2020-10-27 01:00:30 +05:30
parent e74116a436
commit 1bb7bf6a4c
No known key found for this signature in database
GPG Key ID: FF99710C4332258E
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class Resolver(BaseResolver):
def get_topological_weights(graph, expected_node_count):
# type: (Graph) -> Dict[Optional[str], int]
# type: (Graph, int) -> Dict[Optional[str], int]
"""Assign weights to each node based on how "deep" they are.
This implementation may change at any point in the future without prior