Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Commit

Permalink
chore: add todo item for using set to construct graph from set directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattwmaster58 committed Apr 16, 2020
1 parent f09b75e commit c486ffe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/generate_protocol_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ def expand_recursive_references(self) -> None:
Returns: None
"""
expansion = 'Dict[str, Union[Dict[str, Any], str, bool, int, float, List]]'
# todo: networkx will soon support sets: https://github.com/networkx/networkx/pull/3907
for recursive_refs in nx.simple_cycles(nx.DiGraph([*self.td_references])):
any_recursive_ref = "|".join(recursive_refs)
for recursing_itm in recursive_refs:
Expand Down

0 comments on commit c486ffe

Please sign in to comment.