Closed
Description
The type hint on ListMixin.list says that it returns a Union[base.RESTObjectList, List[base.RestObject]]
but this is too strict; each concrete subclass of ListMixin will actually return a Sequence[self._obj_cls].
I'm somewhat new to Python type hints but could this be solved by introducing a type variable and connecting it to both _obj_cls and list()?