class TaskInstanceOperations:
__slots__ = ["client"]
This issues a report of
Type annotation for attribute __slots__ is required because this class is not decorated with @final [reportUnannotatedClassAttribute]
I don't think I've ever seen slots annotated before, and I don't think I should have to -- it is special in python and must be Iterable[str] else it will yield a type error.
i considered that but then i realised __slots__ aren’t even checked to make sure they’re iterable let alone a valid subtype so i decided to just leave it for now until i get around to addressing #181
For example:
This issues a report of
I don't think I've ever seen slots annotated before, and I don't think I should have to -- it is special in python and must be Iterable[str] else it will yield a type error.