MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _gen_edges

Function _gen_edges

lib/sqlalchemy/util/topological.py:119–120  ·  view source on GitHub ↗
(edges: DefaultDict[_T, Set[_T]])

Source from the content-addressed store, hash-verified

117
118
119def _gen_edges(edges: DefaultDict[_T, Set[_T]]) -> Set[Tuple[_T, _T]]:
120 return {(right, left) for left in edges for right in edges[left]}

Callers 1

sort_as_subsetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected