Fix Python 3.7

Use __origin__ on generic types since python 3.7 broke __class__.

Merge request reports

Loading