What's needed?
Most of the newer parts of the code base use abc.Set. But this isn't compatible with the methods of the component graph, because they still use set to type hint their parameters and return values. This leads to additional type conversions which can be avoided.
Proposed solution
Replace the uses of set with abc.Set in the component graph typehints.
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response