Can someone explain what exactly this error means,TypeError: issubclass() arg 1 must be a class
python
Solution
It means that you don't provide a class as argument for `issubclass()`. Both arguments have to be classes. Second argument can also be a tuple of classes.
If you show the code that throws this error, we can help further.
From the documentation:
issubclass(class, classinfo) Return `true` if `class` is a subclass (direct or indirect) of `classinfo`. A class is considered a subclass of itself. `classinfo` may be a tuple of class objects, in which case every entry in `classinfo` will be checked. In any other case, a `TypeError` exception is raised.
Problem
I have zero idea as to why I'm getting this error.