We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
If I have:
Class A:Class B(A):
Then If I try to add lists of these two objects you get the following mypy error:error: Unsupported operand types for + (List[A] and List[B])
error: Unsupported operand types for + (List[A] and List[B])
Any ideas for a work around on this one? Surely the inferred type should beList[Union[A, B]
List[Union[A, B]